import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Random;

public class BiomeTerrain_LoaderMod extends BiomeTerrainBaseMod
{
	  private boolean oldGen;
	  private double biomeSize;
	  private double minMoisture;
	  private double maxMoisture;
	  private double minTemperature;
	  private double maxTemperature;
	  private double snowThreshold;
	  private double iceThreshold;
	  private boolean muddySwamps;
	  private boolean claySwamps;
	  private int swampSize;
	  private boolean waterlessDeserts;
	  private boolean desertDirt;
	  private int desertDirtFrequency;
	  private boolean removeSurfaceDirtFromDesert;
	  private int caveRarity;
	  private int caveFrequency;
	  private int caveMinAltitude;
	  private int caveMaxAltitude;
	  private int individualCaveRarity;
	  private int caveSystemFrequency;
	  private int caveSystemPocketChance;
	  private int caveSystemPocketMinSize;
	  private int caveSystemPocketMaxSize;
	  private boolean evenCaveDistribution;
	  private int dungeonRarity;
	  private int dungeonFrequency;
	  private int dungeonMinAltitude;
	  private int dungeonMaxAltitude;
	  private int lavaLevelMin;
	  private int lavaLevelMax;
	  private int flowerDepositRarity;
	  private int flowerDepositFrequency;
	  private int flowerDepositMinAltitude;
	  private int flowerDepositMaxAltitude;
	  private int roseDepositRarity;
	  private int roseDepositFrequency;
	  private int roseDepositMinAltitude;
	  private int roseDepositMaxAltitude;
	  private int brownMushroomDepositRarity;
	  private int brownMushroomDepositFrequency;
	  private int brownMushroomDepositMinAltitude;
	  private int brownMushroomDepositMaxAltitude;
	  private int redMushroomDepositRarity;
	  private int redMushroomDepositFrequency;
	  private int redMushroomDepositMinAltitude;
	  private int redMushroomDepositMaxAltitude;
	  private int reedDepositRarity;
	  private int reedDepositFrequency;
	  private int reedDepositMinAltitude;
	  private int reedDepositMaxAltitude;
	  private int pumpkinDepositRarity;
	  private int pumpkinDepositFrequency;
	  private int pumpkinDepositMinAltitude;
	  private int pumpkinDepositMaxAltitude;
	  private boolean evenWaterSourceDistribution;
	  private boolean evenLavaSourceDistribution;
	  private int waterSourceDepositRarity;
	  private int waterSourceDepositFrequency;
	  private int waterSourceDepositMinAltitude;
	  private int waterSourceDepositMaxAltitude;
	  private int lavaSourceDepositRarity;
	  private int lavaSourceDepositFrequency;
	  private int lavaSourceDepositMinAltitude;
	  private int lavaSourceDepositMaxAltitude;
	  private int dirtDepositRarity1;
	  private int dirtDepositFrequency1;
	  private int dirtDepositSize1;
	  private int dirtDepositMinAltitude1;
	  private int dirtDepositMaxAltitude1;
	  private int dirtDepositRarity2;
	  private int dirtDepositFrequency2;
	  private int dirtDepositSize2;
	  private int dirtDepositMinAltitude2;
	  private int dirtDepositMaxAltitude2;
	  private int dirtDepositRarity3;
	  private int dirtDepositFrequency3;
	  private int dirtDepositSize3;
	  private int dirtDepositMinAltitude3;
	  private int dirtDepositMaxAltitude3;
	  private int dirtDepositRarity4;
	  private int dirtDepositFrequency4;
	  private int dirtDepositSize4;
	  private int dirtDepositMinAltitude4;
	  private int dirtDepositMaxAltitude4;
	  private int gravelDepositRarity1;
	  private int gravelDepositFrequency1;
	  private int gravelDepositSize1;
	  private int gravelDepositMinAltitude1;
	  private int gravelDepositMaxAltitude1;
	  private int gravelDepositRarity2;
	  private int gravelDepositFrequency2;
	  private int gravelDepositSize2;
	  private int gravelDepositMinAltitude2;
	  private int gravelDepositMaxAltitude2;
	  private int gravelDepositRarity3;
	  private int gravelDepositFrequency3;
	  private int gravelDepositSize3;
	  private int gravelDepositMinAltitude3;
	  private int gravelDepositMaxAltitude3;
	  private int gravelDepositRarity4;
	  private int gravelDepositFrequency4;
	  private int gravelDepositSize4;
	  private int gravelDepositMinAltitude4;
	  private int gravelDepositMaxAltitude4;
	  private int clayDepositRarity1;
	  private int clayDepositFrequency1;
	  private int clayDepositSize1;
	  private int clayDepositMinAltitude1;
	  private int clayDepositMaxAltitude1;
	  private int clayDepositRarity2;
	  private int clayDepositFrequency2;
	  private int clayDepositSize2;
	  private int clayDepositMinAltitude2;
	  private int clayDepositMaxAltitude2;
	  private int clayDepositRarity3;
	  private int clayDepositFrequency3;
	  private int clayDepositSize3;
	  private int clayDepositMinAltitude3;
	  private int clayDepositMaxAltitude3;
	  private int clayDepositRarity4;
	  private int clayDepositFrequency4;
	  private int clayDepositSize4;
	  private int clayDepositMinAltitude4;
	  private int clayDepositMaxAltitude4;
	  private int coalDepositRarity1;
	  private int coalDepositFrequency1;
	  private int coalDepositSize1;
	  private int coalDepositMinAltitude1;
	  private int coalDepositMaxAltitude1;
	  private int coalDepositRarity2;
	  private int coalDepositFrequency2;
	  private int coalDepositSize2;
	  private int coalDepositMinAltitude2;
	  private int coalDepositMaxAltitude2;
	  private int coalDepositRarity3;
	  private int coalDepositFrequency3;
	  private int coalDepositSize3;
	  private int coalDepositMinAltitude3;
	  private int coalDepositMaxAltitude3;
	  private int coalDepositRarity4;
	  private int coalDepositFrequency4;
	  private int coalDepositSize4;
	  private int coalDepositMinAltitude4;
	  private int coalDepositMaxAltitude4;
	  private int ironDepositRarity1;
	  private int ironDepositFrequency1;
	  private int ironDepositSize1;
	  private int ironDepositMinAltitude1;
	  private int ironDepositMaxAltitude1;
	  private int ironDepositRarity2;
	  private int ironDepositFrequency2;
	  private int ironDepositSize2;
	  private int ironDepositMinAltitude2;
	  private int ironDepositMaxAltitude2;
	  private int ironDepositRarity3;
	  private int ironDepositFrequency3;
	  private int ironDepositSize3;
	  private int ironDepositMinAltitude3;
	  private int ironDepositMaxAltitude3;
	  private int ironDepositRarity4;
	  private int ironDepositFrequency4;
	  private int ironDepositSize4;
	  private int ironDepositMinAltitude4;
	  private int ironDepositMaxAltitude4;
	  private int goldDepositRarity1;
	  private int goldDepositFrequency1;
	  private int goldDepositSize1;
	  private int goldDepositMinAltitude1;
	  private int goldDepositMaxAltitude1;
	  private int goldDepositRarity2;
	  private int goldDepositFrequency2;
	  private int goldDepositSize2;
	  private int goldDepositMinAltitude2;
	  private int goldDepositMaxAltitude2;
	  private int goldDepositRarity3;
	  private int goldDepositFrequency3;
	  private int goldDepositSize3;
	  private int goldDepositMinAltitude3;
	  private int goldDepositMaxAltitude3;
	  private int goldDepositRarity4;
	  private int goldDepositFrequency4;
	  private int goldDepositSize4;
	  private int goldDepositMinAltitude4;
	  private int goldDepositMaxAltitude4;
	  private int redstoneDepositRarity1;
	  private int redstoneDepositFrequency1;
	  private int redstoneDepositSize1;
	  private int redstoneDepositMinAltitude1;
	  private int redstoneDepositMaxAltitude1;
	  private int redstoneDepositRarity2;
	  private int redstoneDepositFrequency2;
	  private int redstoneDepositSize2;
	  private int redstoneDepositMinAltitude2;
	  private int redstoneDepositMaxAltitude2;
	  private int redstoneDepositRarity3;
	  private int redstoneDepositFrequency3;
	  private int redstoneDepositSize3;
	  private int redstoneDepositMinAltitude3;
	  private int redstoneDepositMaxAltitude3;
	  private int redstoneDepositRarity4;
	  private int redstoneDepositFrequency4;
	  private int redstoneDepositSize4;
	  private int redstoneDepositMinAltitude4;
	  private int redstoneDepositMaxAltitude4;
	  private int diamondDepositRarity1;
	  private int diamondDepositFrequency1;
	  private int diamondDepositSize1;
	  private int diamondDepositMinAltitude1;
	  private int diamondDepositMaxAltitude1;
	  private int diamondDepositRarity2;
	  private int diamondDepositFrequency2;
	  private int diamondDepositSize2;
	  private int diamondDepositMinAltitude2;
	  private int diamondDepositMaxAltitude2;
	  private int diamondDepositRarity3;
	  private int diamondDepositFrequency3;
	  private int diamondDepositSize3;
	  private int diamondDepositMinAltitude3;
	  private int diamondDepositMaxAltitude3;
	  private int diamondDepositRarity4;
	  private int diamondDepositFrequency4;
	  private int diamondDepositSize4;
	  private int diamondDepositMinAltitude4;
	  private int diamondDepositMaxAltitude4;
	  private int lapislazuliDepositRarity1;
	  private int lapislazuliDepositFrequency1;
	  private int lapislazuliDepositSize1;
	  private int lapislazuliDepositMinAltitude1;
	  private int lapislazuliDepositMaxAltitude1;
	  private int lapislazuliDepositRarity2;
	  private int lapislazuliDepositFrequency2;
	  private int lapislazuliDepositSize2;
	  private int lapislazuliDepositMinAltitude2;
	  private int lapislazuliDepositMaxAltitude2;
	  private int lapislazuliDepositRarity3;
	  private int lapislazuliDepositFrequency3;
	  private int lapislazuliDepositSize3;
	  private int lapislazuliDepositMinAltitude3;
	  private int lapislazuliDepositMaxAltitude3;
	  private int lapislazuliDepositRarity4;
	  private int lapislazuliDepositFrequency4;
	  private int lapislazuliDepositSize4;
	  private int lapislazuliDepositMinAltitude4;
	  private int lapislazuliDepositMaxAltitude4;
	  private boolean evenFireHellDepositDistribution;
	  private boolean evenLightstoneHellDepositDistribution;
	  private int lavaSourceHellDepositRarity;
	  private int lavaSourceHellDepositFrequency;
	  private int lavaSourceHellDepositMinAltitude;
	  private int lavaSourceHellDepositMaxAltitude;
	  private int fireHellDepositRarity;
	  private int fireHellDepositFrequency;
	  private int fireHellDepositMinAltitude;
	  private int fireHellDepositMaxAltitude;
	  private int lightstoneHellDepositRarity1;
	  private int lightstoneHellDepositFrequency1;
	  private int lightstoneHellDepositMinAltitude1;
	  private int lightstoneHellDepositMaxAltitude1;
	  private int lightstoneHellDepositRarity2;
	  private int lightstoneHellDepositFrequency2;
	  private int lightstoneHellDepositMinAltitude2;
	  private int lightstoneHellDepositMaxAltitude2;
	  private int brownMushroomHellDepositRarity;
	  private int brownMushroomHellDepositFrequency;
	  private int brownMushroomHellDepositMinAltitude;
	  private int brownMushroomHellDepositMaxAltitude;
	  private int redMushroomHellDepositRarity;
	  private int redMushroomHellDepositFrequency;
	  private int redMushroomHellDepositMinAltitude;
	  private int redMushroomHellDepositMaxAltitude;

	  private int waterLevel;
	  private double maxAverageHeight;
	  private double maxAverageDepth;
	  private double fractureHorizontal;
	  private double fractureVertical;
	  private double volatility1;
	  private double volatility2;
	  private double volatilityWeight1;
	  private double volatilityWeight2;
	  private boolean disableBedrock;
	  private boolean flatBedrock;
	  private boolean bedrockobsidian;
	  private boolean disableNotchPonds;
	  private boolean customObjects;
	  private int objectSpawnRatio;
	  private boolean notchBiomeTrees;
	  private int globalTreeDensity;
	  private int rainforestTreeDensity;
	  private int swamplandTreeDensity;
	  private int seasonalforestTreeDensity;
	  private int forestTreeDensity;
	  private int savannaTreeDensity;
	  private int shrublandTreeDensity;
	  private int taigaTreeDensity;
	  private int desertTreeDensity;
	  private int plainsTreeDensity;
	  private int iceDesertTreeDensity;
	  private int tundraTreeDensity;
	  private int globalCactusDensity;
	  private int desertCactusDensity;
	  private int cactusDepositRarity;
	  private int cactusDepositMinAltitude;
	  private int cactusDepositMaxAltitude;
	  private boolean undergroundLakes;
	  private boolean undergroundLakesInAir;
	  private int undergroundLakeFrequency;
	  private int undergroundLakeRarity;
	  private int undergroundLakeMinSize;
	  private int undergroundLakeMaxSize;
	  private int undergroundLakeMinAltitude;
	  private int undergroundLakeMaxAltitude;
	  private boolean removeSurfaceStone;
	  private HashMap replaceBlocks;
	  public void RegisterPlugins(File ObjectPlugin)
	  {
	    try
	    {
	      BufferedReader ObjectProps = new BufferedReader(new FileReader(ObjectPlugin));
	      if ((ObjectPlugin.getName().endsWith(".bob")) || (ObjectPlugin.getName().endsWith(".BOB")))
	      {
	        CustomObjectRegistry.Objects.add(new CustomObject());
	        String workingString = "";
	        while (!((workingString.equals("METBEGIN")) || (workingString.equals("METABEGIN"))))
	        {
	          workingString = ObjectProps.readLine();
	          if (!((workingString.equals("METBEGIN") || (workingString.equals("METABEGIN")))))
	          {
	          String[] stringSet = workingString.split(",");
	          System.out.println(stringSet[0]);
	          int X = Integer.parseInt(stringSet[0]);
	          int Y = Integer.parseInt(stringSet[1]);
	          double Data = Double.valueOf(stringSet[2].split(":")[1]).doubleValue();
	          int Z = Integer.parseInt(stringSet[2].split(":")[0]);
	          ((CustomObject)CustomObjectRegistry.Objects.get(CustomObjectRegistry.Objects.size() - 1)).DataValues[X][Y][Z] = Data;
	          }
	        }

	        ((CustomObject)CustomObjectRegistry.Objects.get(CustomObjectRegistry.Objects.size() - 1)).spawnID = Integer.parseInt(ObjectProps.readLine());
	        if (ObjectProps.readLine().equals("true"))
	        {
	          ((CustomObject)CustomObjectRegistry.Objects.get(CustomObjectRegistry.Objects.size() - 1)).underwater = true;
	        }
	        ObjectProps.close();
	      }
	    }
	    catch (Exception e)
	    {
	    	e.printStackTrace();
	      System.out.println("Invalid BOB Plugin: " + ObjectPlugin.getName());
	    }
	  }


  public void readSettings()
  {
	    this.replaceBlocks = new HashMap();
	    getReplaceSettings();
	    Iterator i = this.replaceBlocks.entrySet().iterator();

	    this.removeSurfaceStone = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.removeSurfaceStone.name(), BiomeTerrainValues.removeSurfaceStone.booleanValue()).booleanValue();
	    while (i.hasNext()) {
	      Map.Entry me = (Map.Entry)i.next();
	      me.setValue(BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "replace" + me.getKey().toString(), me.getValue().toString()));
	    }
	    this.flowerDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositRarity.name(), 
	    	      BiomeTerrainValues.flowerDepositRarity.intValue());
	    	    this.flowerDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositFrequency.name(), 
	    	      BiomeTerrainValues.flowerDepositFrequency.intValue());
	    	    this.flowerDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.flowerDepositMinAltitude.intValue());
	    	    this.flowerDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.flowerDepositMaxAltitude.intValue());
	    	    this.roseDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositRarity.name(), 
	    	      BiomeTerrainValues.roseDepositRarity.intValue());
	    	    this.roseDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositFrequency.name(), 
	    	      BiomeTerrainValues.roseDepositFrequency.intValue());
	    	    this.roseDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.roseDepositMinAltitude.intValue());
	    	    this.roseDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.roseDepositMaxAltitude.intValue());
	    	    this.brownMushroomDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositRarity.name(), 
	    	      BiomeTerrainValues.brownMushroomDepositRarity.intValue());
	    	    this.brownMushroomDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositFrequency.name(), 
	    	      BiomeTerrainValues.brownMushroomDepositFrequency.intValue());
	    	    this.brownMushroomDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.brownMushroomDepositMinAltitude.intValue());
	    	    this.brownMushroomDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.brownMushroomDepositMaxAltitude.intValue());
	    	    this.redMushroomDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositRarity.name(), 
	    	      BiomeTerrainValues.redMushroomDepositRarity.intValue());
	    	    this.redMushroomDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositFrequency.name(), 
	    	      BiomeTerrainValues.redMushroomDepositFrequency.intValue());
	    	    this.redMushroomDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.redMushroomDepositMinAltitude.intValue());
	    	    this.redMushroomDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.redMushroomDepositMaxAltitude.intValue());
	    	    this.reedDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositRarity.name(), 
	    	      BiomeTerrainValues.reedDepositRarity.intValue());
	    	    this.reedDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositFrequency.name(), 
	    	      BiomeTerrainValues.reedDepositFrequency.intValue());
	    	    this.reedDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.reedDepositMinAltitude.intValue());
	    	    this.reedDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.reedDepositMaxAltitude.intValue());
	    	    this.pumpkinDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositRarity.name(), 
	    	      BiomeTerrainValues.pumpkinDepositRarity.intValue());
	    	    this.pumpkinDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositFrequency.name(), 
	    	      BiomeTerrainValues.pumpkinDepositFrequency.intValue());
	    	    this.pumpkinDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.pumpkinDepositMinAltitude.intValue());
	    	    this.pumpkinDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.pumpkinDepositMaxAltitude.intValue());

	    	    this.evenWaterSourceDistribution = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenWaterSourceDistribution.name(), 
	    	      BiomeTerrainValues.evenWaterSourceDistribution.booleanValue()).booleanValue();

	    	    this.waterSourceDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositRarity.name(), 
	    	      BiomeTerrainValues.waterSourceDepositRarity.intValue());
	    	    this.waterSourceDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositFrequency.name(), 
	    	      BiomeTerrainValues.waterSourceDepositFrequency.intValue());
	    	    this.waterSourceDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.waterSourceDepositMinAltitude.intValue());
	    	    this.waterSourceDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.waterSourceDepositMaxAltitude.intValue());
	    	    this.evenWaterSourceDistribution = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenLavaSourceDistribution.name(), 
	    	      BiomeTerrainValues.evenLavaSourceDistribution.booleanValue()).booleanValue();

	    	    this.lavaSourceDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositRarity.name(), 
	    	      BiomeTerrainValues.lavaSourceDepositRarity.intValue());
	    	    this.lavaSourceDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositFrequency.name(), 
	    	      BiomeTerrainValues.lavaSourceDepositFrequency.intValue());
	    	    this.lavaSourceDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.lavaSourceDepositMinAltitude.intValue());
	    	    this.lavaSourceDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.lavaSourceDepositMaxAltitude.intValue());

	    	    this.dirtDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity1.name(), 
	    	      BiomeTerrainValues.dirtDepositRarity1.intValue());
	    	    this.dirtDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency1.name(), 
	    	      BiomeTerrainValues.dirtDepositFrequency1.intValue());
	    	    this.dirtDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize1.name(), 
	    	      BiomeTerrainValues.dirtDepositSize1.intValue());
	    	    this.dirtDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude1.intValue());
	    	    this.dirtDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude1.intValue());
	    	    this.dirtDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity2.name(), 
	    	      BiomeTerrainValues.dirtDepositRarity2.intValue());
	    	    this.dirtDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency2.name(), 
	    	      BiomeTerrainValues.dirtDepositFrequency2.intValue());
	    	    this.dirtDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize2.name(), 
	    	      BiomeTerrainValues.dirtDepositSize2.intValue());
	    	    this.dirtDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude2.intValue());
	    	    this.dirtDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude2.intValue());
	    	    this.dirtDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity3.name(), 
	    	      BiomeTerrainValues.dirtDepositRarity3.intValue());
	    	    this.dirtDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency3.name(), 
	    	      BiomeTerrainValues.dirtDepositFrequency3.intValue());
	    	    this.dirtDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize3.name(), 
	    	      BiomeTerrainValues.dirtDepositSize3.intValue());
	    	    this.dirtDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude3.intValue());
	    	    this.dirtDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude3.intValue());
	    	    this.dirtDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity4.name(), 
	    	      BiomeTerrainValues.dirtDepositRarity4.intValue());
	    	    this.dirtDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency4.name(), 
	    	      BiomeTerrainValues.dirtDepositFrequency4.intValue());
	    	    this.dirtDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize4.name(), 
	    	      BiomeTerrainValues.dirtDepositSize4.intValue());
	    	    this.dirtDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude4.intValue());
	    	    this.dirtDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude4.intValue());
	    	    this.gravelDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity1.name(), 
	    	      BiomeTerrainValues.gravelDepositRarity1.intValue());
	    	    this.gravelDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency1.name(), 
	    	      BiomeTerrainValues.gravelDepositFrequency1.intValue());
	    	    this.gravelDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize1.name(), 
	    	      BiomeTerrainValues.gravelDepositSize1.intValue());
	    	    this.gravelDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude1.intValue());
	    	    this.gravelDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude1.intValue());
	    	    this.gravelDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity2.name(), 
	    	      BiomeTerrainValues.gravelDepositRarity2.intValue());
	    	    this.gravelDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency2.name(), 
	    	      BiomeTerrainValues.gravelDepositFrequency2.intValue());
	    	    this.gravelDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize2.name(), 
	    	      BiomeTerrainValues.gravelDepositSize2.intValue());
	    	    this.gravelDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude2.intValue());
	    	    this.gravelDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude2.intValue());
	    	    this.gravelDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity3.name(), 
	    	      BiomeTerrainValues.gravelDepositRarity3.intValue());
	    	    this.gravelDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency3.name(), 
	    	      BiomeTerrainValues.gravelDepositFrequency3.intValue());
	    	    this.gravelDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize3.name(), 
	    	      BiomeTerrainValues.gravelDepositSize3.intValue());
	    	    this.gravelDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude3.intValue());
	    	    this.gravelDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude3.intValue());
	    	    this.gravelDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity4.name(), 
	    	      BiomeTerrainValues.gravelDepositRarity4.intValue());
	    	    this.gravelDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency4.name(), 
	    	      BiomeTerrainValues.gravelDepositFrequency4.intValue());
	    	    this.gravelDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize4.name(), 
	    	      BiomeTerrainValues.gravelDepositSize4.intValue());
	    	    this.gravelDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude4.intValue());
	    	    this.gravelDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude4.intValue());
	    	    this.clayDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity1.name(), 
	    	      BiomeTerrainValues.clayDepositRarity1.intValue());
	    	    this.clayDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency1.name(), 
	    	      BiomeTerrainValues.clayDepositFrequency1.intValue());
	    	    this.clayDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize1.name(), 
	    	      BiomeTerrainValues.clayDepositSize1.intValue());
	    	    this.clayDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude1.intValue());
	    	    this.clayDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude1.intValue());
	    	    this.clayDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity2.name(), 
	    	      BiomeTerrainValues.clayDepositRarity2.intValue());
	    	    this.clayDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency2.name(), 
	    	      BiomeTerrainValues.clayDepositFrequency2.intValue());
	    	    this.clayDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize2.name(), 
	    	      BiomeTerrainValues.clayDepositSize2.intValue());
	    	    this.clayDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude2.intValue());
	    	    this.clayDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude2.intValue());
	    	    this.clayDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity3.name(), 
	    	      BiomeTerrainValues.clayDepositRarity3.intValue());
	    	    this.clayDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency3.name(), 
	    	      BiomeTerrainValues.clayDepositFrequency3.intValue());
	    	    this.clayDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize3.name(), 
	    	      BiomeTerrainValues.clayDepositSize3.intValue());
	    	    this.clayDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude3.intValue());
	    	    this.clayDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude3.intValue());
	    	    this.clayDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity4.name(), 
	    	      BiomeTerrainValues.clayDepositRarity4.intValue());
	    	    this.clayDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency4.name(), 
	    	      BiomeTerrainValues.clayDepositFrequency4.intValue());
	    	    this.clayDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize4.name(), 
	    	      BiomeTerrainValues.clayDepositSize4.intValue());
	    	    this.clayDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude4.intValue());
	    	    this.clayDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude4.intValue());
	    	    this.coalDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity1.name(), 
	    	      BiomeTerrainValues.coalDepositRarity1.intValue());
	    	    this.coalDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency1.name(), 
	    	      BiomeTerrainValues.coalDepositFrequency1.intValue());
	    	    this.coalDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize1.name(), 
	    	      BiomeTerrainValues.coalDepositSize1.intValue());
	    	    this.coalDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude1.intValue());
	    	    this.coalDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude1.intValue());
	    	    this.coalDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity2.name(), 
	    	      BiomeTerrainValues.coalDepositRarity2.intValue());
	    	    this.coalDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency2.name(), 
	    	      BiomeTerrainValues.coalDepositFrequency2.intValue());
	    	    this.coalDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize2.name(), 
	    	      BiomeTerrainValues.coalDepositSize2.intValue());
	    	    this.coalDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude2.intValue());
	    	    this.coalDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude2.intValue());
	    	    this.coalDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity3.name(), 
	    	      BiomeTerrainValues.coalDepositRarity3.intValue());
	    	    this.coalDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency3.name(), 
	    	      BiomeTerrainValues.coalDepositFrequency3.intValue());
	    	    this.coalDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize3.name(), 
	    	      BiomeTerrainValues.coalDepositSize3.intValue());
	    	    this.coalDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude3.intValue());
	    	    this.coalDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude3.intValue());
	    	    this.coalDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity4.name(), 
	    	      BiomeTerrainValues.coalDepositRarity4.intValue());
	    	    this.coalDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency4.name(), 
	    	      BiomeTerrainValues.coalDepositFrequency4.intValue());
	    	    this.coalDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize4.name(), 
	    	      BiomeTerrainValues.coalDepositSize4.intValue());
	    	    this.coalDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude4.intValue());
	    	    this.coalDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude4.intValue());
	    	    this.ironDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity1.name(), 
	    	      BiomeTerrainValues.ironDepositRarity1.intValue());
	    	    this.ironDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency1.name(), 
	    	      BiomeTerrainValues.ironDepositFrequency1.intValue());
	    	    this.ironDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize1.name(), 
	    	      BiomeTerrainValues.ironDepositSize1.intValue());
	    	    this.ironDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude1.intValue());
	    	    this.ironDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude1.intValue());
	    	    this.ironDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity2.name(), 
	    	      BiomeTerrainValues.ironDepositRarity2.intValue());
	    	    this.ironDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency2.name(), 
	    	      BiomeTerrainValues.ironDepositFrequency2.intValue());
	    	    this.ironDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize2.name(), 
	    	      BiomeTerrainValues.ironDepositSize2.intValue());
	    	    this.ironDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude2.intValue());
	    	    this.ironDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude2.intValue());
	    	    this.ironDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity3.name(), 
	    	      BiomeTerrainValues.ironDepositRarity3.intValue());
	    	    this.ironDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency3.name(), 
	    	      BiomeTerrainValues.ironDepositFrequency3.intValue());
	    	    this.ironDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize3.name(), 
	    	      BiomeTerrainValues.ironDepositSize3.intValue());
	    	    this.ironDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude3.intValue());
	    	    this.ironDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude3.intValue());
	    	    this.ironDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity4.name(), 
	    	      BiomeTerrainValues.ironDepositRarity4.intValue());
	    	    this.ironDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency4.name(), 
	    	      BiomeTerrainValues.ironDepositFrequency4.intValue());
	    	    this.ironDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize4.name(), 
	    	      BiomeTerrainValues.ironDepositSize4.intValue());
	    	    this.ironDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude4.intValue());
	    	    this.ironDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude4.intValue());
	    	    this.goldDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity1.name(), 
	    	      BiomeTerrainValues.goldDepositRarity1.intValue());
	    	    this.goldDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency1.name(), 
	    	      BiomeTerrainValues.goldDepositFrequency1.intValue());
	    	    this.goldDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize1.name(), 
	    	      BiomeTerrainValues.goldDepositSize1.intValue());
	    	    this.goldDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude1.intValue());
	    	    this.goldDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude1.intValue());
	    	    this.goldDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity2.name(), 
	    	      BiomeTerrainValues.goldDepositRarity2.intValue());
	    	    this.goldDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency2.name(), 
	    	      BiomeTerrainValues.goldDepositFrequency2.intValue());
	    	    this.goldDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize2.name(), 
	    	      BiomeTerrainValues.goldDepositSize2.intValue());
	    	    this.goldDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude2.intValue());
	    	    this.goldDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude2.intValue());
	    	    this.goldDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity3.name(), 
	    	      BiomeTerrainValues.goldDepositRarity3.intValue());
	    	    this.goldDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency3.name(), 
	    	      BiomeTerrainValues.goldDepositFrequency3.intValue());
	    	    this.goldDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize3.name(), 
	    	      BiomeTerrainValues.goldDepositSize3.intValue());
	    	    this.goldDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude3.intValue());
	    	    this.goldDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude3.intValue());
	    	    this.goldDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity4.name(), 
	    	      BiomeTerrainValues.goldDepositRarity4.intValue());
	    	    this.goldDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency4.name(), 
	    	      BiomeTerrainValues.goldDepositFrequency4.intValue());
	    	    this.goldDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize4.name(), 
	    	      BiomeTerrainValues.goldDepositSize4.intValue());
	    	    this.goldDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude4.intValue());
	    	    this.goldDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude4.intValue());
	    	    this.redstoneDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity1.name(), 
	    	      BiomeTerrainValues.redstoneDepositRarity1.intValue());
	    	    this.redstoneDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency1.name(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency1.intValue());
	    	    this.redstoneDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize1.name(), 
	    	      BiomeTerrainValues.redstoneDepositSize1.intValue());
	    	    this.redstoneDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude1.intValue());
	    	    this.redstoneDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude1.intValue());
	    	    this.redstoneDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity2.name(), 
	    	      BiomeTerrainValues.redstoneDepositRarity2.intValue());
	    	    this.redstoneDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency2.name(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency2.intValue());
	    	    this.redstoneDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize2.name(), 
	    	      BiomeTerrainValues.redstoneDepositSize2.intValue());
	    	    this.redstoneDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude2.intValue());
	    	    this.redstoneDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude2.intValue());
	    	    this.redstoneDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity3.name(), 
	    	      BiomeTerrainValues.redstoneDepositRarity3.intValue());
	    	    this.redstoneDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency3.name(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency3.intValue());
	    	    this.redstoneDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize3.name(), 
	    	      BiomeTerrainValues.redstoneDepositSize3.intValue());
	    	    this.redstoneDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude3.intValue());
	    	    this.redstoneDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude3.intValue());
	    	    this.redstoneDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity4.name(), 
	    	      BiomeTerrainValues.redstoneDepositRarity4.intValue());
	    	    this.redstoneDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency4.name(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency4.intValue());
	    	    this.redstoneDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize4.name(), 
	    	      BiomeTerrainValues.redstoneDepositSize4.intValue());
	    	    this.redstoneDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude4.intValue());
	    	    this.redstoneDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude4.intValue());
	    	    this.diamondDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity1.name(), 
	    	      BiomeTerrainValues.diamondDepositRarity1.intValue());
	    	    this.diamondDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency1.name(), 
	    	      BiomeTerrainValues.diamondDepositFrequency1.intValue());
	    	    this.diamondDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize1.name(), 
	    	      BiomeTerrainValues.diamondDepositSize1.intValue());
	    	    this.diamondDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude1.intValue());
	    	    this.diamondDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude1.intValue());
	    	    this.diamondDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity2.name(), 
	    	      BiomeTerrainValues.diamondDepositRarity2.intValue());
	    	    this.diamondDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency2.name(), 
	    	      BiomeTerrainValues.diamondDepositFrequency2.intValue());
	    	    this.diamondDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize2.name(), 
	    	      BiomeTerrainValues.diamondDepositSize2.intValue());
	    	    this.diamondDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude2.intValue());
	    	    this.diamondDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude2.intValue());
	    	    this.diamondDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity3.name(), 
	    	      BiomeTerrainValues.diamondDepositRarity3.intValue());
	    	    this.diamondDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency3.name(), 
	    	      BiomeTerrainValues.diamondDepositFrequency3.intValue());
	    	    this.diamondDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize3.name(), 
	    	      BiomeTerrainValues.diamondDepositSize3.intValue());
	    	    this.diamondDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude3.intValue());
	    	    this.diamondDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude3.intValue());
	    	    this.diamondDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity4.name(), 
	    	      BiomeTerrainValues.diamondDepositRarity4.intValue());
	    	    this.diamondDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency4.name(), 
	    	      BiomeTerrainValues.diamondDepositFrequency4.intValue());
	    	    this.diamondDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize4.name(), 
	    	      BiomeTerrainValues.diamondDepositSize4.intValue());
	    	    this.diamondDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude4.intValue());
	    	    this.diamondDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude4.intValue());
	    	    this.lapislazuliDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity1.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity1.intValue());
	    	    this.lapislazuliDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency1.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency1.intValue());
	    	    this.lapislazuliDepositSize1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize1.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize1.intValue());
	    	    this.lapislazuliDepositMinAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude1.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude1.intValue());
	    	    this.lapislazuliDepositMaxAltitude1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude1.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude1.intValue());
	    	    this.lapislazuliDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity2.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity2.intValue());
	    	    this.lapislazuliDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency2.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency2.intValue());
	    	    this.lapislazuliDepositSize2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize2.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize2.intValue());
	    	    this.lapislazuliDepositMinAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude2.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude2.intValue());
	    	    this.lapislazuliDepositMaxAltitude2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude2.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude2.intValue());
	    	    this.lapislazuliDepositRarity3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity3.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity3.intValue());
	    	    this.lapislazuliDepositFrequency3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency3.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency3.intValue());
	    	    this.lapislazuliDepositSize3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize3.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize3.intValue());
	    	    this.lapislazuliDepositMinAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude3.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude3.intValue());
	    	    this.lapislazuliDepositMaxAltitude3 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude3.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude3.intValue());
	    	    this.lapislazuliDepositRarity4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity4.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity4.intValue());
	    	    this.lapislazuliDepositFrequency4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency4.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency4.intValue());
	    	    this.lapislazuliDepositSize4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize4.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize4.intValue());
	    	    this.lapislazuliDepositMinAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude4.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude4.intValue());
	    	    this.lapislazuliDepositMaxAltitude4 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude4.name(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude4.intValue());

	    	    this.evenFireHellDepositDistribution = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenFireHellDepositDistribution.name(), 
	    	      BiomeTerrainValues.evenFireHellDepositDistribution.booleanValue()).booleanValue();

	    	    this.evenLightstoneHellDepositDistribution = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenLightstoneHellDepositDistribution.name(), 
	    	      BiomeTerrainValues.evenLightstoneHellDepositDistribution.booleanValue()).booleanValue();

	    	    this.lavaSourceHellDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositRarity.name(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositRarity.intValue());
	    	    this.lavaSourceHellDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositFrequency.name(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositFrequency.intValue());
	    	    this.lavaSourceHellDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositMinAltitude.intValue());
	    	    this.lavaSourceHellDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositMaxAltitude.intValue());
	    	    this.fireHellDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositRarity.name(), 
	    	      BiomeTerrainValues.fireHellDepositRarity.intValue());
	    	    this.fireHellDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositFrequency.name(), 
	    	      BiomeTerrainValues.fireHellDepositFrequency.intValue());
	    	    this.fireHellDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.fireHellDepositMinAltitude.intValue());
	    	    this.fireHellDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.fireHellDepositMaxAltitude.intValue());
	    	    this.lightstoneHellDepositRarity1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositRarity1.name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositRarity1.intValue());
	    	    this.lightstoneHellDepositFrequency1 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositFrequency1.name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositFrequency1.intValue());
	    	    this.lightstoneHellDepositMinAltitude1 = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMinAltitude1
	    	      .name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMinAltitude1
	    	      .intValue());
	    	    this.lightstoneHellDepositMaxAltitude1 = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMaxAltitude1
	    	      .name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMaxAltitude1
	    	      .intValue());
	    	    this.lightstoneHellDepositRarity2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositRarity2.name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositRarity2.intValue());
	    	    this.lightstoneHellDepositFrequency2 = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositFrequency2.name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositFrequency2.intValue());
	    	    this.lightstoneHellDepositMinAltitude2 = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMinAltitude2
	    	      .name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMinAltitude2
	    	      .intValue());
	    	    this.lightstoneHellDepositMaxAltitude2 = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMaxAltitude2
	    	      .name(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMaxAltitude2
	    	      .intValue());
	    	    this.brownMushroomHellDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositRarity.name(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositRarity.intValue());
	    	    this.brownMushroomHellDepositFrequency = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositFrequency
	    	      .name(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositFrequency
	    	      .intValue());
	    	    this.brownMushroomHellDepositMinAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositMinAltitude.name(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositMinAltitude
	    	      .intValue());
	    	    this.brownMushroomHellDepositMaxAltitude = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositMaxAltitude.name(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositMaxAltitude
	    	      .intValue());
	    	    this.redMushroomHellDepositRarity = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositRarity.name(), 
	    	      BiomeTerrainValues.redMushroomHellDepositRarity.intValue());
	    	    this.redMushroomHellDepositFrequency = BiomeTerrain.readSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositFrequency.name(), 
	    	      BiomeTerrainValues.redMushroomHellDepositFrequency.intValue());
	    	    this.redMushroomHellDepositMinAltitude = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositMinAltitude
	    	      .name(), 
	    	      BiomeTerrainValues.redMushroomHellDepositMinAltitude
	    	      .intValue());
	    	    this.redMushroomHellDepositMaxAltitude = 
	    	      BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositMaxAltitude
	    	      .name(), 
	    	      BiomeTerrainValues.redMushroomHellDepositMaxAltitude
	    	      .intValue());
	    this.waterLevel = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.waterLevel.name(), BiomeTerrainValues.waterLevel.intValue());
	    this.maxAverageHeight = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxAverageHeight.name(), BiomeTerrainValues.maxAverageHeight.doubleValue());
	    this.maxAverageDepth = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxAverageDepth.name(), BiomeTerrainValues.maxAverageDepth.doubleValue());
	    this.fractureHorizontal = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.fractureHorizontal.name(), BiomeTerrainValues.fractureHorizontal.doubleValue());
	    this.fractureVertical = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.fractureVertical.name(), BiomeTerrainValues.fractureVertical.doubleValue());
	    this.volatility1 = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatility1.name(), BiomeTerrainValues.volatility1.doubleValue());
	    this.volatility2 = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatility2.name(), BiomeTerrainValues.volatility2.doubleValue());
	    this.volatilityWeight1 = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatilityWeight1.name(), BiomeTerrainValues.volatilityWeight1.doubleValue());
	    this.volatilityWeight2 = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatilityWeight2.name(), BiomeTerrainValues.volatilityWeight2.doubleValue());

	    this.disableBedrock = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.disableBedrock.name(), BiomeTerrainValues.disableBedrock.booleanValue()).booleanValue();
	    this.flatBedrock = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.flatBedrock.name(), BiomeTerrainValues.flatBedrock.booleanValue()).booleanValue();
	    this.bedrockobsidian = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.bedrockobsidian.name(), BiomeTerrainValues.bedrockobsidian.booleanValue()).booleanValue();

	    this.disableNotchPonds = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.disableNotchPonds.name(), BiomeTerrainValues.disableNotchPonds.booleanValue()).booleanValue();
	    this.customObjects = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.customObjects.name(), BiomeTerrainValues.customObjects.booleanValue()).booleanValue();
	    this.objectSpawnRatio = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.objectSpawnRatio.name(), BiomeTerrainValues.objectSpawnRatio.intValue());
	    this.notchBiomeTrees = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.notchBiomeTrees.name(), BiomeTerrainValues.notchBiomeTrees.booleanValue()).booleanValue();
	    this.globalTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.globalTreeDensity.name(), BiomeTerrainValues.globalTreeDensity.intValue());
	    this.rainforestTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.rainforestTreeDensity.name(), BiomeTerrainValues.rainforestTreeDensity.intValue());
	    this.swamplandTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.swamplandTreeDensity.name(), BiomeTerrainValues.swamplandTreeDensity.intValue());
	    this.seasonalforestTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.seasonalforestTreeDensity.name(), BiomeTerrainValues.seasonalforestTreeDensity.intValue());
	    this.forestTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.forestTreeDensity.name(), BiomeTerrainValues.forestTreeDensity.intValue());
	    this.savannaTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.savannaTreeDensity.name(), BiomeTerrainValues.savannaTreeDensity.intValue());
	    this.shrublandTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.shrublandTreeDensity.name(), BiomeTerrainValues.shrublandTreeDensity.intValue());
	    this.taigaTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.taigaTreeDensity.name(), BiomeTerrainValues.taigaTreeDensity.intValue());
	    this.desertTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertTreeDensity.name(), BiomeTerrainValues.desertTreeDensity.intValue());
	    this.plainsTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.plainsTreeDensity.name(), BiomeTerrainValues.plainsTreeDensity.intValue());
	    this.iceDesertTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.iceDesertTreeDensity.name(), BiomeTerrainValues.iceDesertTreeDensity.intValue());
	    this.tundraTreeDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.tundraTreeDensity.name(), BiomeTerrainValues.tundraTreeDensity.intValue());
	    this.globalCactusDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.globalCactusDensity.name(), BiomeTerrainValues.globalCactusDensity.intValue());
	    this.desertCactusDensity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertCactusDensity.name(), BiomeTerrainValues.desertCactusDensity.intValue());
	    this.cactusDepositRarity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.cactusDepositRarity.name(), BiomeTerrainValues.cactusDepositRarity.intValue());
	    this.cactusDepositMinAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.cactusDepositMinAltitude.name(), BiomeTerrainValues.cactusDepositMinAltitude.intValue());
	    this.cactusDepositMaxAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.cactusDepositMaxAltitude.name(), BiomeTerrainValues.cactusDepositMaxAltitude.intValue());
	    this.undergroundLakes = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakes.name(), BiomeTerrainValues.undergroundLakes.booleanValue()).booleanValue();
	    this.undergroundLakesInAir = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakesInAir.name(), BiomeTerrainValues.undergroundLakesInAir.booleanValue()).booleanValue();
	    this.undergroundLakeFrequency = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeFrequency.name(), BiomeTerrainValues.undergroundLakeFrequency.intValue());
	    this.undergroundLakeRarity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeRarity.name(), BiomeTerrainValues.undergroundLakeRarity.intValue());
	    this.undergroundLakeMinSize = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMinSize.name(), BiomeTerrainValues.undergroundLakeMinSize.intValue());
	    this.undergroundLakeMaxSize = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMaxSize.name(), BiomeTerrainValues.undergroundLakeMaxSize.intValue());
	    this.undergroundLakeMinAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMinAltitude.name(), BiomeTerrainValues.undergroundLakeMinAltitude.intValue());
	    this.undergroundLakeMaxAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMaxAltitude.name(), BiomeTerrainValues.undergroundLakeMaxAltitude.intValue());
	    this.caveRarity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveRarity.name(), BiomeTerrainValues.caveRarity.intValue());
	    this.caveFrequency = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveFrequency.name(), BiomeTerrainValues.caveFrequency.intValue());
	    this.caveMinAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveMinAltitude.name(), BiomeTerrainValues.caveMinAltitude.intValue());
	    this.caveMaxAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveMaxAltitude.name(), BiomeTerrainValues.caveMaxAltitude.intValue());
	    this.individualCaveRarity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.individualCaveRarity.name(), BiomeTerrainValues.individualCaveRarity.intValue());
	    this.caveSystemFrequency = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemFrequency.name(), BiomeTerrainValues.caveSystemFrequency.intValue());
	    this.caveSystemPocketChance = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemPocketChance.name(), BiomeTerrainValues.caveSystemPocketChance.intValue());
	    this.caveSystemPocketMinSize = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemPocketMinSize.name(), BiomeTerrainValues.caveSystemPocketMinSize.intValue());
	    this.caveSystemPocketMaxSize = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemPocketMaxSize.name(), BiomeTerrainValues.caveSystemPocketMaxSize.intValue());
	    this.evenCaveDistribution = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.evenCaveDistribution.name(), BiomeTerrainValues.evenCaveDistribution.booleanValue()).booleanValue();

	    this.dungeonRarity = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonRarity.name(), BiomeTerrainValues.dungeonRarity.intValue());
	    this.dungeonFrequency = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonFrequency.name(), BiomeTerrainValues.dungeonFrequency.intValue());
	    this.dungeonMinAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonMinAltitude.name(), BiomeTerrainValues.dungeonMinAltitude.intValue());
	    this.dungeonMaxAltitude = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonMaxAltitude.name(), BiomeTerrainValues.dungeonMaxAltitude.intValue());

	    this.lavaLevelMin = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.lavaLevelMin.name(), BiomeTerrainValues.lavaLevelMin.intValue());
	    this.lavaLevelMax = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.lavaLevelMax.name(), BiomeTerrainValues.lavaLevelMax.intValue());
	    this.oldGen = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.oldGen.name(), BiomeTerrainValues.oldGen.booleanValue());
	    this.biomeSize = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.biomeSize.name(), BiomeTerrainValues.biomeSize.doubleValue());
	    this.minMoisture = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.minMoisture.name(), BiomeTerrainValues.minMoisture.doubleValue());
	    this.maxMoisture = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxMoisture.name(), BiomeTerrainValues.maxMoisture.doubleValue());
	    this.minTemperature = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.minTemperature.name(), BiomeTerrainValues.minTemperature.doubleValue());
	    this.maxTemperature = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxTemperature.name(), BiomeTerrainValues.maxTemperature.doubleValue());
	    this.snowThreshold = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.snowThreshold.name(), BiomeTerrainValues.snowThreshold.doubleValue());
	    this.iceThreshold = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.iceThreshold.name(), BiomeTerrainValues.iceThreshold.doubleValue());

	    this.muddySwamps = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.muddySwamps.name(), BiomeTerrainValues.muddySwamps.booleanValue()).booleanValue();
	    this.claySwamps = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.claySwamps.name(), BiomeTerrainValues.claySwamps.booleanValue()).booleanValue();
	    this.swampSize = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.swampSize.name(), BiomeTerrainValues.swampSize.intValue());

	    this.waterlessDeserts = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.waterlessDeserts.name(), BiomeTerrainValues.waterlessDeserts.booleanValue()).booleanValue();
	    this.removeSurfaceDirtFromDesert = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.removeSurfaceDirtFromDesert.name(), BiomeTerrainValues.removeSurfaceDirtFromDesert.booleanValue()).booleanValue();
	    this.desertDirt = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertDirt.name(), BiomeTerrainValues.desertDirt.booleanValue()).booleanValue();
	    this.desertDirtFrequency = BiomeTerrain.readSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertDirtFrequency.name(), BiomeTerrainValues.desertDirtFrequency.intValue());
  }
  public boolean a(et world, Random random, int i, int j, int k) {
	    return generate(world, random, i, j, k);
	  }
  public boolean generate(et world, Random random, int i, int j, int k)
  {
    int l = random.nextInt(3) + 4;
    boolean flag = true;

    if ((j >= 1) && (j + l + 1 <= 128))
    {
      for (int i1 = j; i1 <= j + 1 + l; i1++) {
        byte b0 = 1;

        if (i1 == j) {
          b0 = 0;
        }

        if (i1 >= j + 1 + l - 2) {
          b0 = 2;
        }

        for (int j1 = i - b0; (j1 <= i + b0) && (flag); j1++) {
          for (int k1 = k - b0; (k1 <= k + b0) && (flag); k1++) {
            if ((i1 >= 0) && (i1 < 128)) {
              int l1 = world.a(j1, i1, k1);
              if ((l1 != 0) && (l1 != to.K.bl))
                flag = false;
            }
            else {
              flag = false;
            }
          }
        }
      }

      if (!flag) {
        return false;
      }

      int i1 = world.a(i, j - 1, k);
      if (((i1 == to.u.bl) || (i1 == to.v.bl)) && (j < 128 - l - 1)) {
        world.b(i, j - 1, k, to.v.bl);

        for (int i2 = j - 3 + l; i2 <= j + l; i2++) {
          int j1 = i2 - (j + l);
          int k1 = 1 - j1 / 2;

          for (int l1 = i - k1; l1 <= i + k1; l1++) {
            int j2 = l1 - i;

            for (int k2 = k - k1; k2 <= k + k1; k2++) {
              int l2 = k2 - k;

              if (((Math.abs(j2) != k1) || (Math.abs(l2) != k1) || ((random.nextInt(2) != 0) && (j1 != 0))) && (to.o[world.a(l1, i2, k2)] == false)) {
                world.b(l1, i2, k2, to.K.bl);
              }
            }
          }
        }
        int i2 = 0;
        for (i2 = 0; i2 < l; i2++) {
          int j1 = world.a(i, j + i2, k);
          if ((j1 == 0) || (j1 == to.K.bl)) {
            world.b(i, j + i2, k, to.J.bl);
          }
        }

        return true;
      }
      return false;
    }

    return false;
  }

  public void fixSettingsValues()
  {
	    this.undergroundLakeRarity = (this.undergroundLakeRarity > 100 ? 100 : this.undergroundLakeRarity < 0 ? 0 : this.undergroundLakeRarity);
	    this.undergroundLakeFrequency = (this.undergroundLakeFrequency < 0 ? 0 : this.undergroundLakeFrequency);
	    this.undergroundLakeMinSize = (this.undergroundLakeMinSize < 25 ? 25 : this.undergroundLakeMinSize);
	    this.undergroundLakeMaxSize = (this.undergroundLakeMaxSize <= this.undergroundLakeMinSize ? this.undergroundLakeMinSize + 1 : this.undergroundLakeMaxSize);
	    this.undergroundLakeMinAltitude = (this.undergroundLakeMinAltitude > BiomeTerrainValues.yLimit.intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.undergroundLakeMinAltitude < 0 ? 0 : this.undergroundLakeMinAltitude);
	    this.undergroundLakeMaxAltitude = (this.undergroundLakeMaxAltitude <= this.undergroundLakeMinAltitude ? this.undergroundLakeMinAltitude + 1 : this.undergroundLakeMaxAltitude > BiomeTerrainValues.yLimit.intValue() ? BiomeTerrainValues.yLimit.intValue() : this.undergroundLakeMaxAltitude);
	    this.waterLevel = (this.waterLevel > BiomeTerrainValues.yLimit.intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.waterLevel < 0 ? 0 : this.waterLevel);
	    this.flowerDepositRarity = 
	        (this.flowerDepositRarity > 100 ? 100 : this.flowerDepositRarity < 0 ? 0 : 
	        this.flowerDepositRarity);
	      this.flowerDepositFrequency = (this.flowerDepositFrequency < 0 ? 0 : 
	        this.flowerDepositFrequency);
	      this.flowerDepositMinAltitude = 
	        (this.flowerDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.flowerDepositMinAltitude < 0 ? 0 : 
	        this.flowerDepositMinAltitude);
	      this.flowerDepositMaxAltitude = 
	        (this.flowerDepositMaxAltitude <= this.flowerDepositMinAltitude ? this.flowerDepositMinAltitude + 1 : this.flowerDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.flowerDepositMaxAltitude);
	      this.roseDepositRarity = 
	        (this.roseDepositRarity > 100 ? 100 : this.roseDepositRarity < 0 ? 0 : 
	        this.roseDepositRarity);
	      this.roseDepositFrequency = (this.roseDepositFrequency < 0 ? 0 : 
	        this.roseDepositFrequency);
	      this.roseDepositMinAltitude = 
	        (this.roseDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.roseDepositMinAltitude < 0 ? 0 : 
	        this.roseDepositMinAltitude);
	      this.roseDepositMaxAltitude = 
	        (this.roseDepositMaxAltitude <= this.roseDepositMinAltitude ? this.roseDepositMinAltitude + 1 : this.roseDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.roseDepositMaxAltitude);
	      this.brownMushroomDepositRarity = 
	        (this.brownMushroomDepositRarity > 100 ? 100 : this.brownMushroomDepositRarity < 0 ? 0 : 
	        this.brownMushroomDepositRarity);
	      this.brownMushroomDepositFrequency = (this.brownMushroomDepositFrequency < 0 ? 0 : 
	        this.brownMushroomDepositFrequency);
	      this.brownMushroomDepositMinAltitude = 
	        (this.brownMushroomDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.brownMushroomDepositMinAltitude < 0 ? 0 : 
	        this.brownMushroomDepositMinAltitude);
	      this.brownMushroomDepositMaxAltitude = 
	        (this.brownMushroomDepositMaxAltitude <= this.brownMushroomDepositMinAltitude ? this.brownMushroomDepositMinAltitude + 1 : this.brownMushroomDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.brownMushroomDepositMaxAltitude);
	      this.redMushroomDepositRarity = 
	        (this.redMushroomDepositRarity > 100 ? 100 : this.redMushroomDepositRarity < 0 ? 0 : 
	        this.redMushroomDepositRarity);
	      this.redMushroomDepositFrequency = (this.redMushroomDepositFrequency < 0 ? 0 : 
	        this.redMushroomDepositFrequency);
	      this.redMushroomDepositMinAltitude = 
	        (this.redMushroomDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.redMushroomDepositMinAltitude < 0 ? 0 : 
	        this.redMushroomDepositMinAltitude);
	      this.redMushroomDepositMaxAltitude = 
	        (this.redMushroomDepositMaxAltitude <= this.redMushroomDepositMinAltitude ? this.redMushroomDepositMinAltitude + 1 : this.redMushroomDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.redMushroomDepositMaxAltitude);
	      this.reedDepositRarity = 
	        (this.reedDepositRarity > 100 ? 100 : this.reedDepositRarity < 0 ? 0 : 
	        this.reedDepositRarity);
	      this.reedDepositFrequency = (this.reedDepositFrequency < 0 ? 0 : 
	        this.reedDepositFrequency);
	      this.reedDepositMinAltitude = 
	        (this.reedDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.reedDepositMinAltitude < 0 ? 0 : 
	        this.reedDepositMinAltitude);
	      this.reedDepositMaxAltitude = 
	        (this.reedDepositMaxAltitude <= this.reedDepositMinAltitude ? this.reedDepositMinAltitude + 1 : this.reedDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.reedDepositMaxAltitude);
	      this.pumpkinDepositRarity = 
	        (this.pumpkinDepositRarity > 100 ? 100 : this.pumpkinDepositRarity < 0 ? 0 : 
	        this.pumpkinDepositRarity);
	      this.pumpkinDepositFrequency = (this.pumpkinDepositFrequency < 0 ? 0 : 
	        this.pumpkinDepositFrequency);
	      this.pumpkinDepositMinAltitude = 
	        (this.pumpkinDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.pumpkinDepositMinAltitude < 0 ? 0 : 
	        this.pumpkinDepositMinAltitude);
	      this.pumpkinDepositMaxAltitude = 
	        (this.pumpkinDepositMaxAltitude <= this.pumpkinDepositMinAltitude ? this.pumpkinDepositMinAltitude + 1 : this.pumpkinDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.pumpkinDepositMaxAltitude);

	      this.waterSourceDepositRarity = 
	        (this.waterSourceDepositRarity > 100 ? 100 : this.waterSourceDepositRarity < 0 ? 0 : 
	        this.waterSourceDepositRarity);
	      this.waterSourceDepositFrequency = (this.waterSourceDepositFrequency < 0 ? 0 : 
	        this.waterSourceDepositFrequency);
	      this.waterSourceDepositMinAltitude = 
	        (this.waterSourceDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.waterSourceDepositMinAltitude < 0 ? 0 : 
	        this.waterSourceDepositMinAltitude);
	      this.waterSourceDepositMaxAltitude = 
	        (this.waterSourceDepositMaxAltitude <= this.waterSourceDepositMinAltitude ? this.waterSourceDepositMinAltitude + 1 : this.waterSourceDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.waterSourceDepositMaxAltitude);
	      this.lavaSourceDepositRarity = 
	        (this.lavaSourceDepositRarity > 100 ? 100 : this.lavaSourceDepositRarity < 0 ? 0 : 
	        this.lavaSourceDepositRarity);
	      this.lavaSourceDepositFrequency = (this.lavaSourceDepositFrequency < 0 ? 0 : 
	        this.lavaSourceDepositFrequency);
	      this.lavaSourceDepositMinAltitude = 
	        (this.lavaSourceDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lavaSourceDepositMinAltitude < 0 ? 0 : 
	        this.lavaSourceDepositMinAltitude);
	      this.lavaSourceDepositMaxAltitude = 
	        (this.lavaSourceDepositMaxAltitude <= this.lavaSourceDepositMinAltitude ? this.lavaSourceDepositMinAltitude + 1 : this.lavaSourceDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lavaSourceDepositMaxAltitude);

	      this.dirtDepositRarity1 = 
	        (this.dirtDepositRarity1 > 100 ? 100 : this.dirtDepositRarity1 < 0 ? 0 : 
	        this.dirtDepositRarity1);
	      this.dirtDepositFrequency1 = (this.dirtDepositFrequency1 < 0 ? 0 : 
	        this.dirtDepositFrequency1);
	      this.dirtDepositSize1 = (this.dirtDepositSize1 < 0 ? 0 : this.dirtDepositSize1);
	      this.dirtDepositMinAltitude1 = 
	        (this.dirtDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.dirtDepositMinAltitude1 < 0 ? 0 : 
	        this.dirtDepositMinAltitude1);
	      this.dirtDepositMaxAltitude1 = 
	        (this.dirtDepositMaxAltitude1 <= this.dirtDepositMinAltitude1 ? this.dirtDepositMinAltitude1 + 1 : this.dirtDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.dirtDepositMaxAltitude1);
	      this.dirtDepositRarity2 = 
	        (this.dirtDepositRarity2 > 100 ? 100 : this.dirtDepositRarity2 < 0 ? 0 : 
	        this.dirtDepositRarity2);
	      this.dirtDepositFrequency2 = (this.dirtDepositFrequency2 < 0 ? 0 : 
	        this.dirtDepositFrequency2);
	      this.dirtDepositSize2 = (this.dirtDepositSize2 < 0 ? 0 : this.dirtDepositSize2);
	      this.dirtDepositMinAltitude2 = 
	        (this.dirtDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.dirtDepositMinAltitude2 < 0 ? 0 : 
	        this.dirtDepositMinAltitude2);
	      this.dirtDepositMaxAltitude2 = 
	        (this.dirtDepositMaxAltitude2 <= this.dirtDepositMinAltitude2 ? this.dirtDepositMinAltitude2 + 1 : this.dirtDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.dirtDepositMaxAltitude2);
	      this.dirtDepositRarity3 = 
	        (this.dirtDepositRarity3 > 100 ? 100 : this.dirtDepositRarity3 < 0 ? 0 : 
	        this.dirtDepositRarity3);
	      this.dirtDepositFrequency3 = (this.dirtDepositFrequency3 < 0 ? 0 : 
	        this.dirtDepositFrequency3);
	      this.dirtDepositSize3 = (this.dirtDepositSize3 < 0 ? 0 : this.dirtDepositSize3);
	      this.dirtDepositMinAltitude3 = 
	        (this.dirtDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.dirtDepositMinAltitude3 < 0 ? 0 : 
	        this.dirtDepositMinAltitude3);
	      this.dirtDepositMaxAltitude3 = 
	        (this.dirtDepositMaxAltitude3 <= this.dirtDepositMinAltitude3 ? this.dirtDepositMinAltitude3 + 1 : this.dirtDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.dirtDepositMaxAltitude3);
	      this.dirtDepositRarity4 = 
	        (this.dirtDepositRarity4 > 100 ? 100 : this.dirtDepositRarity4 < 0 ? 0 : 
	        this.dirtDepositRarity4);
	      this.dirtDepositFrequency4 = (this.dirtDepositFrequency4 < 0 ? 0 : 
	        this.dirtDepositFrequency4);
	      this.dirtDepositSize4 = (this.dirtDepositSize4 < 0 ? 0 : this.dirtDepositSize4);
	      this.dirtDepositMinAltitude4 = 
	        (this.dirtDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.dirtDepositMinAltitude4 < 0 ? 0 : 
	        this.dirtDepositMinAltitude4);
	      this.dirtDepositMaxAltitude4 = 
	        (this.dirtDepositMaxAltitude4 <= this.dirtDepositMinAltitude4 ? this.dirtDepositMinAltitude4 + 1 : this.dirtDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.dirtDepositMaxAltitude4);
	      this.gravelDepositRarity1 = 
	        (this.gravelDepositRarity1 > 100 ? 100 : this.gravelDepositRarity1 < 0 ? 0 : 
	        this.gravelDepositRarity1);
	      this.gravelDepositFrequency1 = (this.gravelDepositFrequency1 < 0 ? 0 : 
	        this.gravelDepositFrequency1);
	      this.gravelDepositSize1 = (this.gravelDepositSize1 < 0 ? 0 : this.gravelDepositSize1);
	      this.gravelDepositMinAltitude1 = 
	        (this.gravelDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.gravelDepositMinAltitude1 < 0 ? 0 : 
	        this.gravelDepositMinAltitude1);
	      this.gravelDepositMaxAltitude1 = 
	        (this.gravelDepositMaxAltitude1 <= this.gravelDepositMinAltitude1 ? this.gravelDepositMinAltitude1 + 1 : this.gravelDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.gravelDepositMaxAltitude1);
	      this.gravelDepositRarity2 = 
	        (this.gravelDepositRarity2 > 100 ? 100 : this.gravelDepositRarity2 < 0 ? 0 : 
	        this.gravelDepositRarity2);
	      this.gravelDepositFrequency2 = (this.gravelDepositFrequency2 < 0 ? 0 : 
	        this.gravelDepositFrequency2);
	      this.gravelDepositSize2 = (this.gravelDepositSize2 < 0 ? 0 : this.gravelDepositSize2);
	      this.gravelDepositMinAltitude2 = 
	        (this.gravelDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.gravelDepositMinAltitude2 < 0 ? 0 : 
	        this.gravelDepositMinAltitude2);
	      this.gravelDepositMaxAltitude2 = 
	        (this.gravelDepositMaxAltitude2 <= this.gravelDepositMinAltitude2 ? this.gravelDepositMinAltitude2 + 1 : this.gravelDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.gravelDepositMaxAltitude2);
	      this.gravelDepositRarity3 = 
	        (this.gravelDepositRarity3 > 100 ? 100 : this.gravelDepositRarity3 < 0 ? 0 : 
	        this.gravelDepositRarity3);
	      this.gravelDepositFrequency3 = (this.gravelDepositFrequency3 < 0 ? 0 : 
	        this.gravelDepositFrequency3);
	      this.gravelDepositSize3 = (this.gravelDepositSize3 < 0 ? 0 : this.gravelDepositSize3);
	      this.gravelDepositMinAltitude3 = 
	        (this.gravelDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.gravelDepositMinAltitude3 < 0 ? 0 : 
	        this.gravelDepositMinAltitude3);
	      this.gravelDepositMaxAltitude3 = 
	        (this.gravelDepositMaxAltitude3 <= this.gravelDepositMinAltitude3 ? this.gravelDepositMinAltitude3 + 1 : this.gravelDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.gravelDepositMaxAltitude3);
	      this.gravelDepositRarity4 = 
	        (this.gravelDepositRarity4 > 100 ? 100 : this.gravelDepositRarity4 < 0 ? 0 : 
	        this.gravelDepositRarity4);
	      this.gravelDepositFrequency4 = (this.gravelDepositFrequency4 < 0 ? 0 : 
	        this.gravelDepositFrequency4);
	      this.gravelDepositSize4 = (this.gravelDepositSize4 < 0 ? 0 : this.gravelDepositSize4);
	      this.gravelDepositMinAltitude4 = 
	        (this.gravelDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.gravelDepositMinAltitude4 < 0 ? 0 : 
	        this.gravelDepositMinAltitude4);
	      this.gravelDepositMaxAltitude4 = 
	        (this.gravelDepositMaxAltitude4 <= this.gravelDepositMinAltitude4 ? this.gravelDepositMinAltitude4 + 1 : this.gravelDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.gravelDepositMaxAltitude4);
	      this.clayDepositRarity1 = 
	        (this.clayDepositRarity1 > 100 ? 100 : this.clayDepositRarity1 < 0 ? 0 : 
	        this.clayDepositRarity1);
	      this.clayDepositFrequency1 = (this.clayDepositFrequency1 < 0 ? 0 : 
	        this.clayDepositFrequency1);
	      this.clayDepositSize1 = (this.clayDepositSize1 < 0 ? 0 : this.clayDepositSize1);
	      this.clayDepositMinAltitude1 = 
	        (this.clayDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.clayDepositMinAltitude1 < 0 ? 0 : 
	        this.clayDepositMinAltitude1);
	      this.clayDepositMaxAltitude1 = 
	        (this.clayDepositMaxAltitude1 <= this.clayDepositMinAltitude1 ? this.clayDepositMinAltitude1 + 1 : this.clayDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.clayDepositMaxAltitude1);
	      this.clayDepositRarity2 = 
	        (this.clayDepositRarity2 > 100 ? 100 : this.clayDepositRarity2 < 0 ? 0 : 
	        this.clayDepositRarity2);
	      this.clayDepositFrequency2 = (this.clayDepositFrequency2 < 0 ? 0 : 
	        this.clayDepositFrequency2);
	      this.clayDepositSize2 = (this.clayDepositSize2 < 0 ? 0 : this.clayDepositSize2);
	      this.clayDepositMinAltitude2 = 
	        (this.clayDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.clayDepositMinAltitude2 < 0 ? 0 : 
	        this.clayDepositMinAltitude2);
	      this.clayDepositMaxAltitude2 = 
	        (this.clayDepositMaxAltitude2 <= this.clayDepositMinAltitude2 ? this.clayDepositMinAltitude2 + 1 : this.clayDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.clayDepositMaxAltitude2);
	      this.clayDepositRarity3 = 
	        (this.clayDepositRarity3 > 100 ? 100 : this.clayDepositRarity3 < 0 ? 0 : 
	        this.clayDepositRarity3);
	      this.clayDepositFrequency3 = (this.clayDepositFrequency3 < 0 ? 0 : 
	        this.clayDepositFrequency3);
	      this.clayDepositSize3 = (this.clayDepositSize3 < 0 ? 0 : this.clayDepositSize3);
	      this.clayDepositMinAltitude3 = 
	        (this.clayDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.clayDepositMinAltitude3 < 0 ? 0 : 
	        this.clayDepositMinAltitude3);
	      this.clayDepositMaxAltitude3 = 
	        (this.clayDepositMaxAltitude3 <= this.clayDepositMinAltitude3 ? this.clayDepositMinAltitude3 + 1 : this.clayDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.clayDepositMaxAltitude3);
	      this.clayDepositRarity4 = 
	        (this.clayDepositRarity4 > 100 ? 100 : this.clayDepositRarity4 < 0 ? 0 : 
	        this.clayDepositRarity4);
	      this.clayDepositFrequency4 = (this.clayDepositFrequency4 < 0 ? 0 : 
	        this.clayDepositFrequency4);
	      this.clayDepositSize4 = (this.clayDepositSize4 < 0 ? 0 : this.clayDepositSize4);
	      this.clayDepositMinAltitude4 = 
	        (this.clayDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.clayDepositMinAltitude4 < 0 ? 0 : 
	        this.clayDepositMinAltitude4);
	      this.clayDepositMaxAltitude4 = 
	        (this.clayDepositMaxAltitude4 <= this.clayDepositMinAltitude4 ? this.clayDepositMinAltitude4 + 1 : this.clayDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.clayDepositMaxAltitude4);
	      this.coalDepositRarity1 = 
	        (this.coalDepositRarity1 > 100 ? 100 : this.coalDepositRarity1 < 0 ? 0 : 
	        this.coalDepositRarity1);
	      this.coalDepositFrequency1 = (this.coalDepositFrequency1 < 0 ? 0 : 
	        this.coalDepositFrequency1);
	      this.coalDepositSize1 = (this.coalDepositSize1 < 0 ? 0 : this.coalDepositSize1);
	      this.coalDepositMinAltitude1 = 
	        (this.coalDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.coalDepositMinAltitude1 < 0 ? 0 : 
	        this.coalDepositMinAltitude1);
	      this.coalDepositMaxAltitude1 = 
	        (this.coalDepositMaxAltitude1 <= this.coalDepositMinAltitude1 ? this.coalDepositMinAltitude1 + 1 : this.coalDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.coalDepositMaxAltitude1);
	      this.coalDepositRarity2 = 
	        (this.coalDepositRarity2 > 100 ? 100 : this.coalDepositRarity2 < 0 ? 0 : 
	        this.coalDepositRarity2);
	      this.coalDepositFrequency2 = (this.coalDepositFrequency2 < 0 ? 0 : 
	        this.coalDepositFrequency2);
	      this.coalDepositSize2 = (this.coalDepositSize2 < 0 ? 0 : this.coalDepositSize2);
	      this.coalDepositMinAltitude2 = 
	        (this.coalDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.coalDepositMinAltitude2 < 0 ? 0 : 
	        this.coalDepositMinAltitude2);
	      this.coalDepositMaxAltitude2 = 
	        (this.coalDepositMaxAltitude2 <= this.coalDepositMinAltitude2 ? this.coalDepositMinAltitude2 + 1 : this.coalDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.coalDepositMaxAltitude2);
	      this.coalDepositRarity3 = 
	        (this.coalDepositRarity3 > 100 ? 100 : this.coalDepositRarity3 < 0 ? 0 : 
	        this.coalDepositRarity3);
	      this.coalDepositFrequency3 = (this.coalDepositFrequency3 < 0 ? 0 : 
	        this.coalDepositFrequency3);
	      this.coalDepositSize3 = (this.coalDepositSize3 < 0 ? 0 : this.coalDepositSize3);
	      this.coalDepositMinAltitude3 = 
	        (this.coalDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.coalDepositMinAltitude3 < 0 ? 0 : 
	        this.coalDepositMinAltitude3);
	      this.coalDepositMaxAltitude3 = 
	        (this.coalDepositMaxAltitude3 <= this.coalDepositMinAltitude3 ? this.coalDepositMinAltitude3 + 1 : this.coalDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.coalDepositMaxAltitude3);
	      this.coalDepositRarity4 = 
	        (this.coalDepositRarity4 > 100 ? 100 : this.coalDepositRarity4 < 0 ? 0 : 
	        this.coalDepositRarity4);
	      this.coalDepositFrequency4 = (this.coalDepositFrequency4 < 0 ? 0 : 
	        this.coalDepositFrequency4);
	      this.coalDepositSize4 = (this.coalDepositSize4 < 0 ? 0 : this.coalDepositSize4);
	      this.coalDepositMinAltitude4 = 
	        (this.coalDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.coalDepositMinAltitude4 < 0 ? 0 : 
	        this.coalDepositMinAltitude4);
	      this.coalDepositMaxAltitude4 = 
	        (this.coalDepositMaxAltitude4 <= this.coalDepositMinAltitude4 ? this.coalDepositMinAltitude4 + 1 : this.coalDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.coalDepositMaxAltitude4);
	      this.ironDepositRarity1 = 
	        (this.ironDepositRarity1 > 100 ? 100 : this.ironDepositRarity1 < 0 ? 0 : 
	        this.ironDepositRarity1);
	      this.ironDepositFrequency1 = (this.ironDepositFrequency1 < 0 ? 0 : 
	        this.ironDepositFrequency1);
	      this.ironDepositSize1 = (this.ironDepositSize1 < 0 ? 0 : this.ironDepositSize1);
	      this.ironDepositMinAltitude1 = 
	        (this.ironDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.ironDepositMinAltitude1 < 0 ? 0 : 
	        this.ironDepositMinAltitude1);
	      this.ironDepositMaxAltitude1 = 
	        (this.ironDepositMaxAltitude1 <= this.ironDepositMinAltitude1 ? this.ironDepositMinAltitude1 + 1 : this.ironDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.ironDepositMaxAltitude1);
	      this.ironDepositRarity2 = 
	        (this.ironDepositRarity2 > 100 ? 100 : this.ironDepositRarity2 < 0 ? 0 : 
	        this.ironDepositRarity2);
	      this.ironDepositFrequency2 = (this.ironDepositFrequency2 < 0 ? 0 : 
	        this.ironDepositFrequency2);
	      this.ironDepositSize2 = (this.ironDepositSize2 < 0 ? 0 : this.ironDepositSize2);
	      this.ironDepositMinAltitude2 = 
	        (this.ironDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.ironDepositMinAltitude2 < 0 ? 0 : 
	        this.ironDepositMinAltitude2);
	      this.ironDepositMaxAltitude2 = 
	        (this.ironDepositMaxAltitude2 <= this.ironDepositMinAltitude2 ? this.ironDepositMinAltitude2 + 1 : this.ironDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.ironDepositMaxAltitude2);
	      this.ironDepositRarity3 = 
	        (this.ironDepositRarity3 > 100 ? 100 : this.ironDepositRarity3 < 0 ? 0 : 
	        this.ironDepositRarity3);
	      this.ironDepositFrequency3 = (this.ironDepositFrequency3 < 0 ? 0 : 
	        this.ironDepositFrequency3);
	      this.ironDepositSize3 = (this.ironDepositSize3 < 0 ? 0 : this.ironDepositSize3);
	      this.ironDepositMinAltitude3 = 
	        (this.ironDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.ironDepositMinAltitude3 < 0 ? 0 : 
	        this.ironDepositMinAltitude3);
	      this.ironDepositMaxAltitude3 = 
	        (this.ironDepositMaxAltitude3 <= this.ironDepositMinAltitude3 ? this.ironDepositMinAltitude3 + 1 : this.ironDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.ironDepositMaxAltitude3);
	      this.ironDepositRarity4 = 
	        (this.ironDepositRarity4 > 100 ? 100 : this.ironDepositRarity4 < 0 ? 0 : 
	        this.ironDepositRarity4);
	      this.ironDepositFrequency4 = (this.ironDepositFrequency4 < 0 ? 0 : 
	        this.ironDepositFrequency4);
	      this.ironDepositSize4 = (this.ironDepositSize4 < 0 ? 0 : this.ironDepositSize4);
	      this.ironDepositMinAltitude4 = 
	        (this.ironDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.ironDepositMinAltitude4 < 0 ? 0 : 
	        this.ironDepositMinAltitude4);
	      this.ironDepositMaxAltitude4 = 
	        (this.ironDepositMaxAltitude4 <= this.ironDepositMinAltitude4 ? this.ironDepositMinAltitude4 + 1 : this.ironDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.ironDepositMaxAltitude4);
	      this.goldDepositRarity1 = 
	        (this.goldDepositRarity1 > 100 ? 100 : this.goldDepositRarity1 < 0 ? 0 : 
	        this.goldDepositRarity1);
	      this.goldDepositFrequency1 = (this.goldDepositFrequency1 < 0 ? 0 : 
	        this.goldDepositFrequency1);
	      this.goldDepositSize1 = (this.goldDepositSize1 < 0 ? 0 : this.goldDepositSize1);
	      this.goldDepositMinAltitude1 = 
	        (this.goldDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.goldDepositMinAltitude1 < 0 ? 0 : 
	        this.goldDepositMinAltitude1);
	      this.goldDepositMaxAltitude1 = 
	        (this.goldDepositMaxAltitude1 <= this.goldDepositMinAltitude1 ? this.goldDepositMinAltitude1 + 1 : this.goldDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.goldDepositMaxAltitude1);
	      this.goldDepositRarity2 = 
	        (this.goldDepositRarity2 > 100 ? 100 : this.goldDepositRarity2 < 0 ? 0 : 
	        this.goldDepositRarity2);
	      this.goldDepositFrequency2 = (this.goldDepositFrequency2 < 0 ? 0 : 
	        this.goldDepositFrequency2);
	      this.goldDepositSize2 = (this.goldDepositSize2 < 0 ? 0 : this.goldDepositSize2);
	      this.goldDepositMinAltitude2 = 
	        (this.goldDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.goldDepositMinAltitude2 < 0 ? 0 : 
	        this.goldDepositMinAltitude2);
	      this.goldDepositMaxAltitude2 = 
	        (this.goldDepositMaxAltitude2 <= this.goldDepositMinAltitude2 ? this.goldDepositMinAltitude2 + 1 : this.goldDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.goldDepositMaxAltitude2);
	      this.goldDepositRarity3 = 
	        (this.goldDepositRarity3 > 100 ? 100 : this.goldDepositRarity3 < 0 ? 0 : 
	        this.goldDepositRarity3);
	      this.goldDepositFrequency3 = (this.goldDepositFrequency3 < 0 ? 0 : 
	        this.goldDepositFrequency3);
	      this.goldDepositSize3 = (this.goldDepositSize3 < 0 ? 0 : this.goldDepositSize3);
	      this.goldDepositMinAltitude3 = 
	        (this.goldDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.goldDepositMinAltitude3 < 0 ? 0 : 
	        this.goldDepositMinAltitude3);
	      this.goldDepositMaxAltitude3 = 
	        (this.goldDepositMaxAltitude3 <= this.goldDepositMinAltitude3 ? this.goldDepositMinAltitude3 + 1 : this.goldDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.goldDepositMaxAltitude3);
	      this.goldDepositRarity4 = 
	        (this.goldDepositRarity4 > 100 ? 100 : this.goldDepositRarity4 < 0 ? 0 : 
	        this.goldDepositRarity4);
	      this.goldDepositFrequency4 = (this.goldDepositFrequency4 < 0 ? 0 : 
	        this.goldDepositFrequency4);
	      this.goldDepositSize4 = (this.goldDepositSize4 < 0 ? 0 : this.goldDepositSize4);
	      this.goldDepositMinAltitude4 = 
	        (this.goldDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.goldDepositMinAltitude4 < 0 ? 0 : 
	        this.goldDepositMinAltitude4);
	      this.goldDepositMaxAltitude4 = 
	        (this.goldDepositMaxAltitude4 <= this.goldDepositMinAltitude4 ? this.goldDepositMinAltitude4 + 1 : this.goldDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.goldDepositMaxAltitude4);
	      this.redstoneDepositRarity1 = 
	        (this.redstoneDepositRarity1 > 100 ? 100 : this.redstoneDepositRarity1 < 0 ? 0 : 
	        this.redstoneDepositRarity1);
	      this.redstoneDepositFrequency1 = (this.redstoneDepositFrequency1 < 0 ? 0 : 
	        this.redstoneDepositFrequency1);
	      this.redstoneDepositSize1 = (this.redstoneDepositSize1 < 0 ? 0 : 
	        this.redstoneDepositSize1);
	      this.redstoneDepositMinAltitude1 = 
	        (this.redstoneDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.redstoneDepositMinAltitude1 < 0 ? 0 : 
	        this.redstoneDepositMinAltitude1);
	      this.redstoneDepositMaxAltitude1 = 
	        (this.redstoneDepositMaxAltitude1 <= this.redstoneDepositMinAltitude1 ? this.redstoneDepositMinAltitude1 + 1 : this.redstoneDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.redstoneDepositMaxAltitude1);
	      this.redstoneDepositRarity2 = 
	        (this.redstoneDepositRarity2 > 100 ? 100 : this.redstoneDepositRarity2 < 0 ? 0 : 
	        this.redstoneDepositRarity2);
	      this.redstoneDepositFrequency2 = (this.redstoneDepositFrequency2 < 0 ? 0 : 
	        this.redstoneDepositFrequency2);
	      this.redstoneDepositSize2 = (this.redstoneDepositSize2 < 0 ? 0 : 
	        this.redstoneDepositSize2);
	      this.redstoneDepositMinAltitude2 = 
	        (this.redstoneDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.redstoneDepositMinAltitude2 < 0 ? 0 : 
	        this.redstoneDepositMinAltitude2);
	      this.redstoneDepositMaxAltitude2 = 
	        (this.redstoneDepositMaxAltitude2 <= this.redstoneDepositMinAltitude2 ? this.redstoneDepositMinAltitude2 + 1 : this.redstoneDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.redstoneDepositMaxAltitude2);
	      this.redstoneDepositRarity3 = 
	        (this.redstoneDepositRarity3 > 100 ? 100 : this.redstoneDepositRarity3 < 0 ? 0 : 
	        this.redstoneDepositRarity3);
	      this.redstoneDepositFrequency3 = (this.redstoneDepositFrequency3 < 0 ? 0 : 
	        this.redstoneDepositFrequency3);
	      this.redstoneDepositSize3 = (this.redstoneDepositSize3 < 0 ? 0 : 
	        this.redstoneDepositSize3);
	      this.redstoneDepositMinAltitude3 = 
	        (this.redstoneDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.redstoneDepositMinAltitude3 < 0 ? 0 : 
	        this.redstoneDepositMinAltitude3);
	      this.redstoneDepositMaxAltitude3 = 
	        (this.redstoneDepositMaxAltitude3 <= this.redstoneDepositMinAltitude3 ? this.redstoneDepositMinAltitude3 + 1 : this.redstoneDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.redstoneDepositMaxAltitude3);
	      this.redstoneDepositRarity4 = 
	        (this.redstoneDepositRarity4 > 100 ? 100 : this.redstoneDepositRarity4 < 0 ? 0 : 
	        this.redstoneDepositRarity4);
	      this.redstoneDepositFrequency4 = (this.redstoneDepositFrequency4 < 0 ? 0 : 
	        this.redstoneDepositFrequency4);
	      this.redstoneDepositSize4 = (this.redstoneDepositSize4 < 0 ? 0 : 
	        this.redstoneDepositSize4);
	      this.redstoneDepositMinAltitude4 = 
	        (this.redstoneDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.redstoneDepositMinAltitude4 < 0 ? 0 : 
	        this.redstoneDepositMinAltitude4);
	      this.redstoneDepositMaxAltitude4 = 
	        (this.redstoneDepositMaxAltitude4 <= this.redstoneDepositMinAltitude4 ? this.redstoneDepositMinAltitude4 + 1 : this.redstoneDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.redstoneDepositMaxAltitude4);
	      this.diamondDepositRarity1 = 
	        (this.diamondDepositRarity1 > 100 ? 100 : this.diamondDepositRarity1 < 0 ? 0 : 
	        this.diamondDepositRarity1);
	      this.diamondDepositFrequency1 = (this.diamondDepositFrequency1 < 0 ? 0 : 
	        this.diamondDepositFrequency1);
	      this.diamondDepositSize1 = (this.diamondDepositSize1 < 0 ? 0 : this.diamondDepositSize1);
	      this.diamondDepositMinAltitude1 = 
	        (this.diamondDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.diamondDepositMinAltitude1 < 0 ? 0 : 
	        this.diamondDepositMinAltitude1);
	      this.diamondDepositMaxAltitude1 = 
	        (this.diamondDepositMaxAltitude1 <= this.diamondDepositMinAltitude1 ? this.diamondDepositMinAltitude1 + 1 : this.diamondDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.diamondDepositMaxAltitude1);
	      this.diamondDepositRarity2 = 
	        (this.diamondDepositRarity2 > 100 ? 100 : this.diamondDepositRarity2 < 0 ? 0 : 
	        this.diamondDepositRarity2);
	      this.diamondDepositFrequency2 = (this.diamondDepositFrequency2 < 0 ? 0 : 
	        this.diamondDepositFrequency2);
	      this.diamondDepositSize2 = (this.diamondDepositSize2 < 0 ? 0 : this.diamondDepositSize2);
	      this.diamondDepositMinAltitude2 = 
	        (this.diamondDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.diamondDepositMinAltitude2 < 0 ? 0 : 
	        this.diamondDepositMinAltitude2);
	      this.diamondDepositMaxAltitude2 = 
	        (this.diamondDepositMaxAltitude2 <= this.diamondDepositMinAltitude2 ? this.diamondDepositMinAltitude2 + 1 : this.diamondDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.diamondDepositMaxAltitude2);
	      this.diamondDepositRarity3 = 
	        (this.diamondDepositRarity3 > 100 ? 100 : this.diamondDepositRarity3 < 0 ? 0 : 
	        this.diamondDepositRarity3);
	      this.diamondDepositFrequency3 = (this.diamondDepositFrequency3 < 0 ? 0 : 
	        this.diamondDepositFrequency3);
	      this.diamondDepositSize3 = (this.diamondDepositSize3 < 0 ? 0 : this.diamondDepositSize3);
	      this.diamondDepositMinAltitude3 = 
	        (this.diamondDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.diamondDepositMinAltitude3 < 0 ? 0 : 
	        this.diamondDepositMinAltitude3);
	      this.diamondDepositMaxAltitude3 = 
	        (this.diamondDepositMaxAltitude3 <= this.diamondDepositMinAltitude3 ? this.diamondDepositMinAltitude3 + 1 : this.diamondDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.diamondDepositMaxAltitude3);
	      this.diamondDepositRarity4 = 
	        (this.diamondDepositRarity4 > 100 ? 100 : this.diamondDepositRarity4 < 0 ? 0 : 
	        this.diamondDepositRarity4);
	      this.diamondDepositFrequency4 = (this.diamondDepositFrequency4 < 0 ? 0 : 
	        this.diamondDepositFrequency4);
	      this.diamondDepositSize4 = (this.diamondDepositSize4 < 0 ? 0 : this.diamondDepositSize4);
	      this.diamondDepositMinAltitude4 = 
	        (this.diamondDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.diamondDepositMinAltitude4 < 0 ? 0 : 
	        this.diamondDepositMinAltitude4);
	      this.diamondDepositMaxAltitude4 = 
	        (this.diamondDepositMaxAltitude4 <= this.diamondDepositMinAltitude4 ? this.diamondDepositMinAltitude4 + 1 : this.diamondDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.diamondDepositMaxAltitude4);
	      this.lapislazuliDepositRarity1 = 
	        (this.lapislazuliDepositRarity1 > 100 ? 100 : this.lapislazuliDepositRarity1 < 0 ? 0 : 
	        this.lapislazuliDepositRarity1);
	      this.lapislazuliDepositFrequency1 = (this.lapislazuliDepositFrequency1 < 0 ? 0 : 
	        this.lapislazuliDepositFrequency1);
	      this.lapislazuliDepositSize1 = (this.lapislazuliDepositSize1 < 0 ? 0 : this.lapislazuliDepositSize1);
	      this.lapislazuliDepositMinAltitude1 = 
	        (this.lapislazuliDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lapislazuliDepositMinAltitude1 < 0 ? 0 : 
	        this.lapislazuliDepositMinAltitude1);
	      this.lapislazuliDepositMaxAltitude1 = 
	        (this.lapislazuliDepositMaxAltitude1 <= this.lapislazuliDepositMinAltitude1 ? this.lapislazuliDepositMinAltitude1 + 1 : this.lapislazuliDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lapislazuliDepositMaxAltitude1);
	      this.lapislazuliDepositRarity2 = 
	        (this.lapislazuliDepositRarity2 > 100 ? 100 : this.lapislazuliDepositRarity2 < 0 ? 0 : 
	        this.lapislazuliDepositRarity2);
	      this.lapislazuliDepositFrequency2 = (this.lapislazuliDepositFrequency2 < 0 ? 0 : 
	        this.lapislazuliDepositFrequency2);
	      this.lapislazuliDepositSize2 = (this.lapislazuliDepositSize2 < 0 ? 0 : this.lapislazuliDepositSize2);
	      this.lapislazuliDepositMinAltitude2 = 
	        (this.lapislazuliDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lapislazuliDepositMinAltitude2 < 0 ? 0 : 
	        this.lapislazuliDepositMinAltitude2);
	      this.lapislazuliDepositMaxAltitude2 = 
	        (this.lapislazuliDepositMaxAltitude2 <= this.lapislazuliDepositMinAltitude2 ? this.lapislazuliDepositMinAltitude2 + 1 : this.lapislazuliDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lapislazuliDepositMaxAltitude2);
	      this.lapislazuliDepositRarity3 = 
	        (this.lapislazuliDepositRarity3 > 100 ? 100 : this.lapislazuliDepositRarity3 < 0 ? 0 : 
	        this.lapislazuliDepositRarity3);
	      this.lapislazuliDepositFrequency3 = (this.lapislazuliDepositFrequency3 < 0 ? 0 : 
	        this.lapislazuliDepositFrequency3);
	      this.lapislazuliDepositSize3 = (this.lapislazuliDepositSize3 < 0 ? 0 : this.lapislazuliDepositSize3);
	      this.lapislazuliDepositMinAltitude3 = 
	        (this.lapislazuliDepositMinAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lapislazuliDepositMinAltitude3 < 0 ? 0 : 
	        this.lapislazuliDepositMinAltitude3);
	      this.lapislazuliDepositMaxAltitude3 = 
	        (this.lapislazuliDepositMaxAltitude3 <= this.lapislazuliDepositMinAltitude3 ? this.lapislazuliDepositMinAltitude3 + 1 : this.lapislazuliDepositMaxAltitude3 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lapislazuliDepositMaxAltitude3);
	      this.lapislazuliDepositRarity4 = 
	        (this.lapislazuliDepositRarity4 > 100 ? 100 : this.lapislazuliDepositRarity4 < 0 ? 0 : 
	        this.lapislazuliDepositRarity4);
	      this.lapislazuliDepositFrequency4 = (this.lapislazuliDepositFrequency4 < 0 ? 0 : 
	        this.lapislazuliDepositFrequency4);
	      this.lapislazuliDepositSize4 = (this.lapislazuliDepositSize4 < 0 ? 0 : this.lapislazuliDepositSize4);
	      this.lapislazuliDepositMinAltitude4 = 
	        (this.lapislazuliDepositMinAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lapislazuliDepositMinAltitude4 < 0 ? 0 : 
	        this.lapislazuliDepositMinAltitude4);
	      this.lapislazuliDepositMaxAltitude4 = 
	        (this.lapislazuliDepositMaxAltitude4 <= this.lapislazuliDepositMinAltitude4 ? this.lapislazuliDepositMinAltitude4 + 1 : this.lapislazuliDepositMaxAltitude4 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lapislazuliDepositMaxAltitude4);

	      this.lavaSourceHellDepositRarity = 
	        (this.lavaSourceHellDepositRarity > 100 ? 100 : this.lavaSourceHellDepositRarity < 0 ? 0 : 
	        this.lavaSourceHellDepositRarity);
	      this.lavaSourceHellDepositFrequency = (this.lavaSourceHellDepositFrequency < 0 ? 0 : 
	        this.lavaSourceHellDepositFrequency);
	      this.lavaSourceHellDepositMinAltitude = 
	        (this.lavaSourceHellDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lavaSourceHellDepositMinAltitude < 0 ? 0 : 
	        this.lavaSourceHellDepositMinAltitude);
	      this.lavaSourceHellDepositMaxAltitude = 
	        (this.lavaSourceHellDepositMaxAltitude <= this.lavaSourceHellDepositMinAltitude ? this.lavaSourceHellDepositMinAltitude + 1 : this.lavaSourceHellDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lavaSourceHellDepositMaxAltitude);
	      this.fireHellDepositRarity = 
	        (this.fireHellDepositRarity > 100 ? 100 : this.fireHellDepositRarity < 0 ? 0 : 
	        this.fireHellDepositRarity);
	      this.fireHellDepositFrequency = (this.fireHellDepositFrequency < 0 ? 0 : 
	        this.fireHellDepositFrequency);
	      this.fireHellDepositMinAltitude = 
	        (this.fireHellDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.fireHellDepositMinAltitude < 0 ? 0 : 
	        this.fireHellDepositMinAltitude);
	      this.fireHellDepositMaxAltitude = 
	        (this.fireHellDepositMaxAltitude <= this.fireHellDepositMinAltitude ? this.fireHellDepositMinAltitude + 1 : this.fireHellDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.fireHellDepositMaxAltitude);
	      this.lightstoneHellDepositRarity1 = 
	        (this.lightstoneHellDepositRarity1 > 100 ? 100 : this.lightstoneHellDepositRarity1 < 0 ? 0 : 
	        this.lightstoneHellDepositRarity1);
	      this.lightstoneHellDepositFrequency1 = (this.lightstoneHellDepositFrequency1 < 0 ? 0 : 
	        this.lightstoneHellDepositFrequency1);
	      this.lightstoneHellDepositMinAltitude1 = 
	        (this.lightstoneHellDepositMinAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lightstoneHellDepositMinAltitude1 < 0 ? 0 : 
	        this.lightstoneHellDepositMinAltitude1);
	      this.lightstoneHellDepositMaxAltitude1 = 
	        (this.lightstoneHellDepositMaxAltitude1 <= this.lightstoneHellDepositMinAltitude1 ? this.lightstoneHellDepositMinAltitude1 + 1 : this.lightstoneHellDepositMaxAltitude1 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lightstoneHellDepositMaxAltitude1);
	      this.lightstoneHellDepositRarity2 = 
	        (this.lightstoneHellDepositRarity2 > 100 ? 100 : this.lightstoneHellDepositRarity2 < 0 ? 0 : 
	        this.lightstoneHellDepositRarity2);
	      this.lightstoneHellDepositFrequency2 = (this.lightstoneHellDepositFrequency2 < 0 ? 0 : 
	        this.lightstoneHellDepositFrequency2);
	      this.lightstoneHellDepositMinAltitude2 = 
	        (this.lightstoneHellDepositMinAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lightstoneHellDepositMinAltitude2 < 0 ? 0 : 
	        this.lightstoneHellDepositMinAltitude2);
	      this.lightstoneHellDepositMaxAltitude2 = 
	        (this.lightstoneHellDepositMaxAltitude2 <= this.lightstoneHellDepositMinAltitude2 ? this.lightstoneHellDepositMinAltitude2 + 1 : this.lightstoneHellDepositMaxAltitude2 > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.lightstoneHellDepositMaxAltitude2);
	      this.brownMushroomHellDepositRarity = 
	        (this.brownMushroomHellDepositRarity > 100 ? 100 : this.brownMushroomHellDepositRarity < 0 ? 0 : 
	        this.brownMushroomHellDepositRarity);
	      this.brownMushroomHellDepositFrequency = (this.brownMushroomHellDepositFrequency < 0 ? 0 : 
	        this.brownMushroomHellDepositFrequency);
	      this.brownMushroomHellDepositMinAltitude = 
	        (this.brownMushroomHellDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.brownMushroomHellDepositMinAltitude < 0 ? 0 : 
	        this.brownMushroomHellDepositMinAltitude);
	      this.brownMushroomHellDepositMaxAltitude = 
	        (this.brownMushroomHellDepositMaxAltitude <= this.brownMushroomHellDepositMinAltitude ? this.brownMushroomHellDepositMinAltitude + 1 : this.brownMushroomHellDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.brownMushroomHellDepositMaxAltitude);
	      this.redMushroomHellDepositRarity = 
	        (this.redMushroomHellDepositRarity > 100 ? 100 : this.redMushroomHellDepositRarity < 0 ? 0 : 
	        this.redMushroomHellDepositRarity);
	      this.redMushroomHellDepositFrequency = (this.redMushroomHellDepositFrequency < 0 ? 0 : 
	        this.redMushroomHellDepositFrequency);
	      this.redMushroomHellDepositMinAltitude = 
	        (this.redMushroomHellDepositMinAltitude > BiomeTerrainValues.yLimit
	        .intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.redMushroomHellDepositMinAltitude < 0 ? 0 : 
	        this.redMushroomHellDepositMinAltitude);
	      this.redMushroomHellDepositMaxAltitude = 
	        (this.redMushroomHellDepositMaxAltitude <= this.redMushroomHellDepositMinAltitude ? this.redMushroomHellDepositMinAltitude + 1 : this.redMushroomHellDepositMaxAltitude > BiomeTerrainValues.yLimit
	        .intValue() ? BiomeTerrainValues.yLimit.intValue() : 
	        this.redMushroomHellDepositMaxAltitude);
	      this.caveRarity = (this.caveRarity > 100 ? 100 : this.caveRarity < 0 ? 0 : this.caveRarity);
	      this.caveFrequency = (this.caveFrequency < 0 ? 0 : this.caveFrequency);
	      this.caveMinAltitude = (this.caveMinAltitude > BiomeTerrainValues.yLimit.intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.caveMinAltitude < 0 ? 0 : this.caveMinAltitude);
	      this.caveMaxAltitude = (this.caveMaxAltitude <= this.caveMinAltitude ? this.caveMinAltitude + 1 : this.caveMaxAltitude > BiomeTerrainValues.yLimit.intValue() ? BiomeTerrainValues.yLimit.intValue() : this.caveMaxAltitude);
	      this.individualCaveRarity = (this.individualCaveRarity < 0 ? 0 : this.individualCaveRarity);
	      this.caveSystemFrequency = (this.caveSystemFrequency < 0 ? 0 : this.caveSystemFrequency);
	      this.caveSystemPocketChance = (this.caveSystemPocketChance > 100 ? 100 : this.caveSystemPocketChance < 0 ? 0 : this.caveSystemPocketChance);
	      this.caveSystemPocketMinSize = (this.caveSystemPocketMinSize < 0 ? 0 : this.caveSystemPocketMinSize);
	      this.caveSystemPocketMaxSize = (this.caveSystemPocketMaxSize <= this.caveSystemPocketMinSize ? this.caveSystemPocketMinSize + 1 : this.caveSystemPocketMaxSize);

	      this.dungeonRarity = (this.dungeonRarity > 100 ? 100 : this.dungeonRarity < 0 ? 0 : this.dungeonRarity);
	      this.dungeonFrequency = (this.dungeonFrequency < 0 ? 0 : this.dungeonFrequency);
	      this.dungeonMinAltitude = (this.dungeonMinAltitude > BiomeTerrainValues.yLimit.intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.dungeonMinAltitude < 0 ? 0 : this.dungeonMinAltitude);
	      this.dungeonMaxAltitude = (this.dungeonMaxAltitude <= this.dungeonMinAltitude ? this.dungeonMinAltitude + 1 : this.dungeonMaxAltitude > BiomeTerrainValues.yLimit.intValue() ? BiomeTerrainValues.yLimit.intValue() : this.dungeonMaxAltitude);

	      this.lavaLevelMin = (this.lavaLevelMin > BiomeTerrainValues.yLimit.intValue() - 1 ? BiomeTerrainValues.yLimit.intValue() - 1 : this.lavaLevelMin < 0 ? 0 : this.lavaLevelMin);
	      this.lavaLevelMax = (this.lavaLevelMax < this.lavaLevelMin ? this.lavaLevelMin : this.lavaLevelMax > BiomeTerrainValues.yLimit.intValue() ? BiomeTerrainValues.yLimit.intValue() : this.lavaLevelMax);
	      this.biomeSize = (this.biomeSize <= 0.0D ? 4.9E-324D : this.biomeSize);
	      this.minMoisture = (this.minMoisture > 1.0D ? 1.0D : this.minMoisture < 0.0D ? 0.0D : this.minMoisture);
	      this.minTemperature = (this.minTemperature > 1.0D ? 1.0D : this.minTemperature < 0.0D ? 0.0D : this.minTemperature);
	      this.maxMoisture = (this.maxMoisture < this.minMoisture ? this.minMoisture : this.maxMoisture > 1.0D ? 1.0D : this.maxMoisture);
	      this.maxTemperature = (this.maxTemperature < this.minTemperature ? this.minTemperature : this.maxTemperature > 1.0D ? 1.0D : this.maxTemperature);
	      this.snowThreshold = (this.snowThreshold > 1.0D ? 1.0D : this.snowThreshold < -1.0D ? -1.0D : this.snowThreshold);
	      this.iceThreshold = (this.iceThreshold > 1.0D ? 1.0D : this.iceThreshold < -1.0D ? -1.0D : this.iceThreshold);
  }

  public void writeSettings()
  {
	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Biome Mod - All Biome Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.oldGen.name(), this.oldGen);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.biomeSize.name(), this.biomeSize);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.minMoisture.name(), this.minMoisture);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxMoisture.name(), this.maxMoisture);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.minTemperature.name(), this.minTemperature);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxTemperature.name(), this.maxTemperature);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.snowThreshold.name(), this.snowThreshold);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.iceThreshold.name(), this.iceThreshold);

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Biome Mod - Swamp Biome Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.muddySwamps.name(), Boolean.valueOf(this.muddySwamps));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.claySwamps.name(), Boolean.valueOf(this.claySwamps));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.swampSize.name(), this.swampSize);

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Biome Mod - Desert Biome Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.waterlessDeserts.name(), Boolean.valueOf(this.waterlessDeserts));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.removeSurfaceDirtFromDesert.name(), Boolean.valueOf(this.removeSurfaceDirtFromDesert));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertDirt.name(), Boolean.valueOf(this.desertDirt));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertDirtFrequency.name(), this.desertDirtFrequency);
	    Iterator i = this.replaceBlocks.entrySet().iterator();

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Replace Block Mod - Replace Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.removeSurfaceStone.name(), Boolean.valueOf(this.removeSurfaceStone));
	    while (i.hasNext()) {
	      Map.Entry me = (Map.Entry)i.next();
	      BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "replace" + me.getKey().toString(), me.getValue().toString());
	    }
	    BiomeTerrain.writeSettingsTitle(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      "Deposit Mod - Above Ground Variables");
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositRarity.name(), 
	    	      this.flowerDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositFrequency.name(), 
	    	      this.flowerDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositMinAltitude.name(), 
	    	      this.flowerDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.flowerDepositMaxAltitude.name(), 
	    	      this.flowerDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositRarity.name(), 
	    	      this.roseDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositFrequency.name(), 
	    	      this.roseDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositMinAltitude.name(), 
	    	      this.roseDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.roseDepositMaxAltitude.name(), 
	    	      this.roseDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositRarity.name(), 
	    	      this.brownMushroomDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositFrequency.name(), 
	    	      this.brownMushroomDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositMinAltitude.name(), 
	    	      this.brownMushroomDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomDepositMaxAltitude.name(), 
	    	      this.brownMushroomDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositRarity.name(), 
	    	      this.redMushroomDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositFrequency.name(), 
	    	      this.redMushroomDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositMinAltitude.name(), 
	    	      this.redMushroomDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomDepositMaxAltitude.name(), 
	    	      this.redMushroomDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositRarity.name(), 
	    	      this.reedDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositFrequency.name(), 
	    	      this.reedDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositMinAltitude.name(), 
	    	      this.reedDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.reedDepositMaxAltitude.name(), 
	    	      this.reedDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositRarity.name(), 
	    	      this.pumpkinDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositFrequency.name(), 
	    	      this.pumpkinDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositMinAltitude.name(), 
	    	      this.pumpkinDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.pumpkinDepositMaxAltitude.name(), 
	    	      this.pumpkinDepositMaxAltitude);

	    	    BiomeTerrain.writeSettingsTitle(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      "Deposit Mod - Above/Below Ground Variables");
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenWaterSourceDistribution.name(), 
	    	      Boolean.valueOf(this.evenWaterSourceDistribution));
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositRarity.name(), 
	    	      this.waterSourceDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositFrequency.name(), 
	    	      this.waterSourceDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositMinAltitude.name(), 
	    	      this.waterSourceDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.waterSourceDepositMaxAltitude.name(), 
	    	      this.waterSourceDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenLavaSourceDistribution.name(), 
	    	      Boolean.valueOf(this.evenLavaSourceDistribution));
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositRarity.name(), 
	    	      this.lavaSourceDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositFrequency.name(), 
	    	      this.lavaSourceDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositMinAltitude.name(), 
	    	      this.lavaSourceDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceDepositMaxAltitude.name(), 
	    	      this.lavaSourceDepositMaxAltitude);

	    	    BiomeTerrain.writeSettingsTitle(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      "Deposit Mod - Below Ground Variables");
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity1.name(), 
	    	      this.dirtDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency1.name(), 
	    	      this.dirtDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize1.name(), 
	    	      this.dirtDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude1.name(), 
	    	      this.dirtDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude1.name(), 
	    	      this.dirtDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity2.name(), 
	    	      this.dirtDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency2.name(), 
	    	      this.dirtDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize2.name(), 
	    	      this.dirtDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude2.name(), 
	    	      this.dirtDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude2.name(), 
	    	      this.dirtDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity3.name(), 
	    	      this.dirtDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency3.name(), 
	    	      this.dirtDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize3.name(), 
	    	      this.dirtDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude3.name(), 
	    	      this.dirtDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude3.name(), 
	    	      this.dirtDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositRarity4.name(), 
	    	      this.dirtDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositFrequency4.name(), 
	    	      this.dirtDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositSize4.name(), 
	    	      this.dirtDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMinAltitude4.name(), 
	    	      this.dirtDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.dirtDepositMaxAltitude4.name(), 
	    	      this.dirtDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity1.name(), 
	    	      this.gravelDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency1.name(), 
	    	      this.gravelDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize1.name(), 
	    	      this.gravelDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude1.name(), 
	    	      this.gravelDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude1.name(), 
	    	      this.gravelDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity2.name(), 
	    	      this.gravelDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency2.name(), 
	    	      this.gravelDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize2.name(), 
	    	      this.gravelDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude2.name(), 
	    	      this.gravelDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude2.name(), 
	    	      this.gravelDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity3.name(), 
	    	      this.gravelDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency3.name(), 
	    	      this.gravelDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize3.name(), 
	    	      this.gravelDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude3.name(), 
	    	      this.gravelDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude3.name(), 
	    	      this.gravelDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositRarity4.name(), 
	    	      this.gravelDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositFrequency4.name(), 
	    	      this.gravelDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositSize4.name(), 
	    	      this.gravelDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMinAltitude4.name(), 
	    	      this.gravelDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.gravelDepositMaxAltitude4.name(), 
	    	      this.gravelDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity1.name(), 
	    	      this.clayDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency1.name(), 
	    	      this.clayDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize1.name(), 
	    	      this.clayDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude1.name(), 
	    	      this.clayDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude1.name(), 
	    	      this.clayDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity2.name(), 
	    	      this.clayDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency2.name(), 
	    	      this.clayDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize2.name(), 
	    	      this.clayDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude2.name(), 
	    	      this.clayDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude2.name(), 
	    	      this.clayDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity3.name(), 
	    	      this.clayDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency3.name(), 
	    	      this.clayDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize3.name(), 
	    	      this.clayDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude3.name(), 
	    	      this.clayDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude3.name(), 
	    	      this.clayDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositRarity4.name(), 
	    	      this.clayDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositFrequency4.name(), 
	    	      this.clayDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositSize4.name(), 
	    	      this.clayDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMinAltitude4.name(), 
	    	      this.clayDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.clayDepositMaxAltitude4.name(), 
	    	      this.clayDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity1.name(), 
	    	      this.coalDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency1.name(), 
	    	      this.coalDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize1.name(), 
	    	      this.coalDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude1.name(), 
	    	      this.coalDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude1.name(), 
	    	      this.coalDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity2.name(), 
	    	      this.coalDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency2.name(), 
	    	      this.coalDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize2.name(), 
	    	      this.coalDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude2.name(), 
	    	      this.coalDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude2.name(), 
	    	      this.coalDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity3.name(), 
	    	      this.coalDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency3.name(), 
	    	      this.coalDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize3.name(), 
	    	      this.coalDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude3.name(), 
	    	      this.coalDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude3.name(), 
	    	      this.coalDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositRarity4.name(), 
	    	      this.coalDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositFrequency4.name(), 
	    	      this.coalDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositSize4.name(), 
	    	      this.coalDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMinAltitude4.name(), 
	    	      this.coalDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.coalDepositMaxAltitude4.name(), 
	    	      this.coalDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity1.name(), 
	    	      this.ironDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency1.name(), 
	    	      this.ironDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize1.name(), 
	    	      this.ironDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude1.name(), 
	    	      this.ironDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude1.name(), 
	    	      this.ironDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity2.name(), 
	    	      this.ironDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency2.name(), 
	    	      this.ironDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize2.name(), 
	    	      this.ironDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude2.name(), 
	    	      this.ironDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude2.name(), 
	    	      this.ironDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity3.name(), 
	    	      this.ironDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency3.name(), 
	    	      this.ironDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize3.name(), 
	    	      this.ironDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude3.name(), 
	    	      this.ironDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude3.name(), 
	    	      this.ironDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositRarity4.name(), 
	    	      this.ironDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositFrequency4.name(), 
	    	      this.ironDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositSize4.name(), 
	    	      this.ironDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMinAltitude4.name(), 
	    	      this.ironDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.ironDepositMaxAltitude4.name(), 
	    	      this.ironDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity1.name(), 
	    	      this.goldDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency1.name(), 
	    	      this.goldDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize1.name(), 
	    	      this.goldDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude1.name(), 
	    	      this.goldDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude1.name(), 
	    	      this.goldDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity2.name(), 
	    	      this.goldDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency2.name(), 
	    	      this.goldDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize2.name(), 
	    	      this.goldDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude2.name(), 
	    	      this.goldDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude2.name(), 
	    	      this.goldDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity3.name(), 
	    	      this.goldDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency3.name(), 
	    	      this.goldDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize3.name(), 
	    	      this.goldDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude3.name(), 
	    	      this.goldDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude3.name(), 
	    	      this.goldDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositRarity4.name(), 
	    	      this.goldDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositFrequency4.name(), 
	    	      this.goldDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositSize4.name(), 
	    	      this.goldDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMinAltitude4.name(), 
	    	      this.goldDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.goldDepositMaxAltitude4.name(), 
	    	      this.goldDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity1.name(), 
	    	      this.redstoneDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency1.name(), 
	    	      this.redstoneDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize1.name(), 
	    	      this.redstoneDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude1.name(), 
	    	      this.redstoneDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude1.name(), 
	    	      this.redstoneDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity2.name(), 
	    	      this.redstoneDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency2.name(), 
	    	      this.redstoneDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize2.name(), 
	    	      this.redstoneDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude2.name(), 
	    	      this.redstoneDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude2.name(), 
	    	      this.redstoneDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity3.name(), 
	    	      this.redstoneDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency3.name(), 
	    	      this.redstoneDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize3.name(), 
	    	      this.redstoneDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude3.name(), 
	    	      this.redstoneDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude3.name(), 
	    	      this.redstoneDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositRarity4.name(), 
	    	      this.redstoneDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositFrequency4.name(), 
	    	      this.redstoneDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositSize4.name(), 
	    	      this.redstoneDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMinAltitude4.name(), 
	    	      this.redstoneDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redstoneDepositMaxAltitude4.name(), 
	    	      this.redstoneDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity1.name(), 
	    	      this.diamondDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency1.name(), 
	    	      this.diamondDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize1.name(), 
	    	      this.diamondDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude1.name(), 
	    	      this.diamondDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude1.name(), 
	    	      this.diamondDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity2.name(), 
	    	      this.diamondDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency2.name(), 
	    	      this.diamondDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize2.name(), 
	    	      this.diamondDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude2.name(), 
	    	      this.diamondDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude2.name(), 
	    	      this.diamondDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity3.name(), 
	    	      this.diamondDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency3.name(), 
	    	      this.diamondDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize3.name(), 
	    	      this.diamondDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude3.name(), 
	    	      this.diamondDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude3.name(), 
	    	      this.diamondDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositRarity4.name(), 
	    	      this.diamondDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositFrequency4.name(), 
	    	      this.diamondDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositSize4.name(), 
	    	      this.diamondDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMinAltitude4.name(), 
	    	      this.diamondDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.diamondDepositMaxAltitude4.name(), 
	    	      this.diamondDepositMaxAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity1.name(), 
	    	      this.lapislazuliDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency1.name(), 
	    	      this.lapislazuliDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize1.name(), 
	    	      this.lapislazuliDepositSize1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude1.name(), 
	    	      this.lapislazuliDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude1.name(), 
	    	      this.lapislazuliDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity2.name(), 
	    	      this.lapislazuliDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency2.name(), 
	    	      this.lapislazuliDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize2.name(), 
	    	      this.lapislazuliDepositSize2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude2.name(), 
	    	      this.lapislazuliDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude2.name(), 
	    	      this.lapislazuliDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity3.name(), 
	    	      this.lapislazuliDepositRarity3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency3.name(), 
	    	      this.lapislazuliDepositFrequency3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize3.name(), 
	    	      this.lapislazuliDepositSize3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude3.name(), 
	    	      this.lapislazuliDepositMinAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude3.name(), 
	    	      this.lapislazuliDepositMaxAltitude3);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositRarity4.name(), 
	    	      this.lapislazuliDepositRarity4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositFrequency4.name(), 
	    	      this.lapislazuliDepositFrequency4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositSize4.name(), 
	    	      this.lapislazuliDepositSize4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMinAltitude4.name(), 
	    	      this.lapislazuliDepositMinAltitude4);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lapislazuliDepositMaxAltitude4.name(), 
	    	      this.lapislazuliDepositMaxAltitude4);

	    	    BiomeTerrain.writeSettingsTitle(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      "Deposit Mod - Hell Variables");
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.evenFireHellDepositDistribution.name(), 
	    	      Boolean.valueOf(this.evenFireHellDepositDistribution));

	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName
	    	      .stringValue(), 
	    	      BiomeTerrainValues.evenLightstoneHellDepositDistribution
	    	      .name(), 
	    	      Boolean.valueOf(this.evenLightstoneHellDepositDistribution));
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositRarity.name(), 
	    	      this.lavaSourceHellDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositFrequency.name(), 
	    	      this.lavaSourceHellDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositMinAltitude.name(), 
	    	      this.lavaSourceHellDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lavaSourceHellDepositMaxAltitude.name(), 
	    	      this.lavaSourceHellDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositRarity.name(), 
	    	      this.fireHellDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositFrequency.name(), 
	    	      this.fireHellDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositMinAltitude.name(), 
	    	      this.fireHellDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.fireHellDepositMaxAltitude.name(), 
	    	      this.fireHellDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositRarity1.name(), 
	    	      this.lightstoneHellDepositRarity1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositFrequency1.name(), 
	    	      this.lightstoneHellDepositFrequency1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMinAltitude1.name(), 
	    	      this.lightstoneHellDepositMinAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMaxAltitude1.name(), 
	    	      this.lightstoneHellDepositMaxAltitude1);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositRarity2.name(), 
	    	      this.lightstoneHellDepositRarity2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositFrequency2.name(), 
	    	      this.lightstoneHellDepositFrequency2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMinAltitude2.name(), 
	    	      this.lightstoneHellDepositMinAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.lightstoneHellDepositMaxAltitude2.name(), 
	    	      this.lightstoneHellDepositMaxAltitude2);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositRarity.name(), 
	    	      this.brownMushroomHellDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositFrequency.name(), 
	    	      this.brownMushroomHellDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositMinAltitude.name(), 
	    	      this.brownMushroomHellDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.brownMushroomHellDepositMaxAltitude.name(), 
	    	      this.brownMushroomHellDepositMaxAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositRarity.name(), 
	    	      this.redMushroomHellDepositRarity);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositFrequency.name(), 
	    	      this.redMushroomHellDepositFrequency);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositMinAltitude.name(), 
	    	      this.redMushroomHellDepositMinAltitude);
	    	    BiomeTerrain.writeSettings(
	    	      BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), 
	    	      BiomeTerrainValues.redMushroomHellDepositMaxAltitude.name(), 
	    	      this.redMushroomHellDepositMaxAltitude);
	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Tree Mod - Tree Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.customObjects.name(), Boolean.valueOf(this.customObjects));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.objectSpawnRatio.name(), Integer.valueOf(this.objectSpawnRatio).intValue());
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.notchBiomeTrees.name(), Boolean.valueOf(this.notchBiomeTrees));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.globalTreeDensity.name(), this.globalTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.rainforestTreeDensity.name(), this.rainforestTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.swamplandTreeDensity.name(), this.swamplandTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.seasonalforestTreeDensity.name(), this.seasonalforestTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.forestTreeDensity.name(), this.forestTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.savannaTreeDensity.name(), this.savannaTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.shrublandTreeDensity.name(), this.shrublandTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.taigaTreeDensity.name(), this.taigaTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertTreeDensity.name(), this.desertTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.plainsTreeDensity.name(), this.plainsTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.iceDesertTreeDensity.name(), this.iceDesertTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.tundraTreeDensity.name(), this.tundraTreeDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.globalCactusDensity.name(), this.globalCactusDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.desertCactusDensity.name(), this.desertCactusDensity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.cactusDepositRarity.name(), this.cactusDepositRarity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.cactusDepositMinAltitude.name(), this.cactusDepositMinAltitude);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.cactusDepositMaxAltitude.name(), this.cactusDepositMaxAltitude);
	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Underground Lake Mod - Underground Lake Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakes.name(), Boolean.valueOf(this.undergroundLakes));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakesInAir.name(), Boolean.valueOf(this.undergroundLakesInAir));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeFrequency.name(), this.undergroundLakeFrequency);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeRarity.name(), this.undergroundLakeRarity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMinSize.name(), this.undergroundLakeMinSize);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMaxSize.name(), this.undergroundLakeMaxSize);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMinAltitude.name(), this.undergroundLakeMinAltitude);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.undergroundLakeMaxAltitude.name(), this.undergroundLakeMaxAltitude);
	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Terrain Mod - Terrain Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.waterLevel.name(), this.waterLevel);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxAverageHeight.name(), this.maxAverageHeight);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.maxAverageDepth.name(), this.maxAverageDepth);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.fractureHorizontal.name(), this.fractureHorizontal);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.fractureVertical.name(), this.fractureVertical);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatility1.name(), this.volatility1);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatility2.name(), this.volatility2);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatilityWeight1.name(), this.volatilityWeight1);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.volatilityWeight2.name(), this.volatilityWeight2);

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Terrain Mod - Bedrock Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.disableBedrock.name(), Boolean.valueOf(this.disableBedrock));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.flatBedrock.name(), Boolean.valueOf(this.flatBedrock));
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.bedrockobsidian.name(), Boolean.valueOf(this.bedrockobsidian));

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Terrain Mod - Temporary Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.disableNotchPonds.name(), Boolean.valueOf(this.disableNotchPonds));
	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Cave Mod - Cave Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveRarity.name(), this.caveRarity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveFrequency.name(), this.caveFrequency);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveMinAltitude.name(), this.caveMinAltitude);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveMaxAltitude.name(), this.caveMaxAltitude);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.individualCaveRarity.name(), this.individualCaveRarity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemFrequency.name(), this.caveSystemFrequency);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemPocketChance.name(), this.caveSystemPocketChance);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemPocketMinSize.name(), this.caveSystemPocketMinSize);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.caveSystemPocketMaxSize.name(), this.caveSystemPocketMaxSize);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.evenCaveDistribution.name(), Boolean.valueOf(this.evenCaveDistribution));

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Cave Mod - Dungeon Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonRarity.name(), this.dungeonRarity);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonFrequency.name(), this.dungeonFrequency);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonMinAltitude.name(), this.dungeonMinAltitude);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.dungeonMaxAltitude.name(), this.dungeonMaxAltitude);

	    BiomeTerrain.writeSettingsTitle(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), "Cave Mod - Lava Pool Variables");
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.lavaLevelMin.name(), this.lavaLevelMin);
	    BiomeTerrain.writeSettings(BiomeTerrainValues.biomeTerrainSettingsName.stringValue(), BiomeTerrainValues.lavaLevelMax.name(), this.lavaLevelMax);
  }

  public void processChunkBlocks(byte[] blocks)
  {
    for (int x = 0; x < BiomeTerrainValues.xLimit.intValue(); x++)
      for (int z = 0; z < BiomeTerrainValues.zLimit.intValue(); z++) {
        BiomeTerrain.currentBiome = BiomeTerrain.biomeList[(x * BiomeTerrainValues.zLimit.intValue() + z)];
        for (int y = 0; y < BiomeTerrainValues.yLimit.intValue(); y++) {
          int block = y + z * BiomeTerrainValues.yLimit.intValue() + x * BiomeTerrainValues.yLimit.intValue() * BiomeTerrainValues.zLimit.intValue();
          if (block >= BiomeTerrainValues.maxChunkBlockValue.intValue() - 1)
            continue;
          if ((this.removeSurfaceDirtFromDesert) && (BiomeTerrain.currentBiome == BiomeTerrainValues.Desert.biomeValue()) && ((blocks[block] == BiomeTerrainValues.grass.byteValue().byteValue()) || (blocks[block] == BiomeTerrainValues.dirt.byteValue().byteValue())) && (blocks[(block + 1)] == BiomeTerrainValues.air.byteValue().byteValue()))
            blocks[block] = BiomeTerrainValues.sand.byteValue().byteValue();
          if ((this.desertDirt) && (BiomeTerrain.currentBiome == BiomeTerrainValues.Desert.biomeValue()) && (this.desertDirtFrequency > 0) && (BiomeTerrain.rand.nextInt(this.desertDirtFrequency * BiomeTerrainValues.xLimit.intValue() * BiomeTerrainValues.zLimit.intValue()) == 0) && (blocks[block] == BiomeTerrainValues.sand.byteValue().byteValue()) && (blocks[(block + 1)] == BiomeTerrainValues.air.byteValue().byteValue()))
            blocks[block] = BiomeTerrainValues.dirt.byteValue().byteValue();
          if ((this.waterlessDeserts) && (BiomeTerrain.currentBiome == BiomeTerrainValues.Desert.biomeValue()) && ((blocks[block] == BiomeTerrainValues.stationarywater.byteValue().byteValue()) || (blocks[block] == BiomeTerrainValues.ice.byteValue().byteValue())))
            blocks[block] = BiomeTerrainValues.sand.byteValue().byteValue();
          if (((this.muddySwamps) || (this.claySwamps)) && (BiomeTerrain.currentBiome == BiomeTerrainValues.Swampland.biomeValue()) && ((blocks[block] == BiomeTerrainValues.grass.byteValue().byteValue()) || (blocks[block] == BiomeTerrainValues.dirt.byteValue().byteValue()) || (blocks[block] == BiomeTerrainValues.sand.byteValue().byteValue())))
            createSwamps(blocks, block);
          if (this.replaceBlocks.size() > 0)
              blocks[block] = replaceBlock(blocks[block]);
        }
      }
  }
  private void createSwamps(byte[] blocks, int block) {
	    int swampSize = this.swampSize > 15 ? 15 : this.swampSize < 0 ? 0 : this.swampSize;

	    if (blocks[(block + 1)] == BiomeTerrainValues.stationarywater.byteValue().byteValue()) {
	      if (this.muddySwamps)
	        blocks[block] = BiomeTerrainValues.slowsand.byteValue().byteValue();
	      else if (this.claySwamps)
	        blocks[block] = BiomeTerrainValues.clay.byteValue().byteValue();
	      return;
	    }

	    for (int x = swampSize * -1; x < swampSize + 1; x++)
	      for (int z = swampSize * -1; z < swampSize + 1; z++) {
	        int newBlock = block + z * BiomeTerrainValues.yLimit.intValue() + x * BiomeTerrainValues.yLimit.intValue() * BiomeTerrainValues.zLimit.intValue();
	        if ((newBlock < 0) || (newBlock > BiomeTerrainValues.maxChunkBlockValue.intValue() - 1))
	          continue;
	        if (blocks[newBlock] == BiomeTerrainValues.stationarywater.byteValue().byteValue()) {
	          if (this.muddySwamps)
	            blocks[block] = BiomeTerrainValues.slowsand.byteValue().byteValue();
	          else if (this.claySwamps)
	            blocks[block] = BiomeTerrainValues.clay.byteValue().byteValue();
	          return;
	        }
	      }
	  }
  private byte replaceBlock(byte block) {
	    Iterator i = this.replaceBlocks.entrySet().iterator();
	    while (i.hasNext()) {
	      Map.Entry me = (Map.Entry)i.next();
	      if (BiomeTerrainValues.valueOf(me.getKey().toString().toLowerCase()).byteValue().byteValue() == block)
	        return BiomeTerrainValues.valueOf(me.getValue().toString().toLowerCase()).byteValue().byteValue();
	    }
	    return block;
	  }
  private byte findNearestStoneReplacement(byte[] blocks, int block) {
	    for (int w = 1; w < 16; w++)
	      for (int y = 0; y <= 2; y++)
	        for (int x = -1 * w; x <= 1 * w; x++)
	          for (int z = -1 * w; z <= 1 * w; z++) {
	            int newBlock = block + (y == 2 ? -1 : y) + z * BiomeTerrainValues.yLimit.intValue() + x * BiomeTerrainValues.yLimit.intValue() * BiomeTerrainValues.zLimit.intValue();
	            if ((newBlock < 0) || (newBlock > BiomeTerrainValues.maxChunkBlockValue.intValue() - 1))
	              continue;
	            if ((blocks[newBlock] == BiomeTerrainValues.grass.byteValue().byteValue()) || (blocks[newBlock] == BiomeTerrainValues.dirt.byteValue().byteValue()) || (blocks[newBlock] == BiomeTerrainValues.sand.byteValue().byteValue()) || (blocks[newBlock] == BiomeTerrainValues.gravel.byteValue().byteValue()) || (blocks[newBlock] == BiomeTerrainValues.clay.byteValue().byteValue()))
	              return blocks[newBlock];
	          }
	    return ((BiomeTerrain.currentBiome == BiomeTerrainValues.Desert.biomeValue()) || (BiomeTerrain.currentBiome == BiomeTerrainValues.IceDesert.biomeValue()) ? BiomeTerrainValues.sand.byteValue() : BiomeTerrainValues.grass.byteValue()).byteValue();
	  }
  private void getReplaceSettings() {
	    BufferedReader br = null;
	    File f = new File(BiomeTerrain.worldSaveFolder, BiomeTerrainValues.biomeTerrainSettingsName.stringValue());
	    try {
	      if (!f.exists())
	        f = new File(BiomeTerrain.minecraftFolder, BiomeTerrainValues.biomeTerrainSettingsName.stringValue());
	      br = new BufferedReader(new FileReader(f));
	      String thisLine;
	      while ((thisLine = br.readLine()) != null)
	      {
	        if ((!thisLine.toLowerCase().contains("with")) && (thisLine.contains("replace"))) {
	          String thisBlock = thisLine.split(":")[0].trim().replace("replace", "");
	          this.replaceBlocks.put(thisBlock, thisBlock);
	        }
	      }
	    }
	    catch (FileNotFoundException localFileNotFoundException)
	    {
	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException1)
	        {
	        }


	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException2)
	        {
	        }


	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException3)
	        {
	        }
	    }
	    catch (IOException e)
	    {
	      e.printStackTrace();

	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException4)
	        {
	        }


	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException5)
	        {
	        }


	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException6)
	        {
	        }
	    }
	    finally
	    {
	      if (br != null) try {
	          br.close();
	        }
	        catch (IOException localIOException7)
	        {
	        } 
	    }
	  }


  public void processUndergroundLakes(int xC, int zC)
  {
    int x = xC * 16;
    int z = zC * 16;

    for (int i = 0; i < this.undergroundLakeFrequency; i++) {
      if (BiomeTerrain.rand.nextInt(100) >= this.undergroundLakeRarity)
        continue;
      int xR = x + BiomeTerrain.rand.nextInt(16);
      int yR = BiomeTerrain.rand.nextInt(this.undergroundLakeMaxAltitude - this.undergroundLakeMinAltitude) + this.undergroundLakeMinAltitude;
      int zR = z + BiomeTerrain.rand.nextInt(16);
      createUndergroundLake(BiomeTerrain.rand.nextInt(this.undergroundLakeMaxSize - this.undergroundLakeMinSize) + this.undergroundLakeMinSize, xR, yR, zR);
    }
  }
  private void createUndergroundLake(int size, int x, int y, int z) {
	    float mPi = BiomeTerrain.rand.nextFloat() * 3.141593F;

	    double x1 = x + 8 + BiomeTerrain.sin(mPi) * size / 8.0F;
	    double x2 = x + 8 - BiomeTerrain.sin(mPi) * size / 8.0F;
	    double z1 = z + 8 + BiomeTerrain.cos(mPi) * size / 8.0F;
	    double z2 = z + 8 - BiomeTerrain.cos(mPi) * size / 8.0F;

	    double y1 = y + BiomeTerrain.rand.nextInt(3) + 2;
	    double y2 = y + BiomeTerrain.rand.nextInt(3) + 2;

	    for (int i = 0; i <= size; i++) {
	      double xAdjusted = x1 + (x2 - x1) * i / size;
	      double yAdjusted = y1 + (y2 - y1) * i / size;
	      double zAdjusted = z1 + (z2 - z1) * i / size;

	      double horizontalSizeMultiplier = BiomeTerrain.rand.nextDouble() * size / 16.0D;
	      double verticalSizeMultiplier = BiomeTerrain.rand.nextDouble() * size / 32.0D;
	      double horizontalSize = (BiomeTerrain.sin(i * 3.141593F / size) + 1.0F) * horizontalSizeMultiplier + 1.0D;
	      double verticalSize = (BiomeTerrain.sin(i * 3.141593F / size) + 1.0F) * verticalSizeMultiplier + 1.0D;

	      for (int xLake = (int)(xAdjusted - horizontalSize / 2.0D); xLake <= (int)(xAdjusted + horizontalSize / 2.0D); xLake++)
	        for (int yLake = (int)(yAdjusted - verticalSize / 2.0D); yLake <= (int)(yAdjusted + verticalSize / 2.0D); yLake++)
	          for (int zLake = (int)(zAdjusted - horizontalSize / 2.0D); zLake <= (int)(zAdjusted + horizontalSize / 2.0D); zLake++) {
	            double xBounds = (xLake + 0.5D - xAdjusted) / (horizontalSize / 2.0D);
	            double yBounds = (yLake + 0.5D - yAdjusted) / (verticalSize / 2.0D);
	            double zBounds = (zLake + 0.5D - zAdjusted) / (horizontalSize / 2.0D);
	            if (xBounds * xBounds + yBounds * yBounds + zBounds * zBounds < 1.0D) {
	              int uBlock = BiomeTerrain.getBlock(xLake, yLake - 1, zLake);
	              if ((yLake < y + 2) && ((this.undergroundLakesInAir) || (uBlock != BiomeTerrainValues.air.byteValue().byteValue())))
	                BiomeTerrain.setBlock(xLake, yLake, zLake, BiomeTerrainValues.water.byteValue().byteValue());
	              else
	                BiomeTerrain.setBlock(xLake, yLake, zLake, BiomeTerrainValues.air.byteValue().byteValue());
	            }
	          }
	    }
	  }
  public void processUndergroundDeposits(int x, int z) {
	    BiomeTerrain.clayDefault = BiomeTerrain.dirtDefault = BiomeTerrain.gravelDefault = BiomeTerrain.coalDefault = BiomeTerrain.ironDefault = BiomeTerrain.goldDefault = BiomeTerrain.redstoneDefault = BiomeTerrain.diamondDefault = BiomeTerrain.lapislazuliDefault = false;

	    BiomeTerrain.processDepositMaterial(x, z, this.dirtDepositRarity1, 
	      this.dirtDepositFrequency1, this.dirtDepositMinAltitude1, 
	      this.dirtDepositMaxAltitude1, this.dirtDepositSize1, 
	      BiomeTerrainValues.dirt.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.dirtDepositRarity2, 
	      this.dirtDepositFrequency2, this.dirtDepositMinAltitude2, 
	      this.dirtDepositMaxAltitude2, this.dirtDepositSize2, 
	      BiomeTerrainValues.dirt.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.dirtDepositRarity3, 
	      this.dirtDepositFrequency3, this.dirtDepositMinAltitude3, 
	      this.dirtDepositMaxAltitude3, this.dirtDepositSize3, 
	      BiomeTerrainValues.dirt.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.dirtDepositRarity4, 
	      this.dirtDepositFrequency4, this.dirtDepositMinAltitude4, 
	      this.dirtDepositMaxAltitude4, this.dirtDepositSize4, 
	      BiomeTerrainValues.dirt.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.gravelDepositRarity1, 
	      this.gravelDepositFrequency1, this.gravelDepositMinAltitude1, 
	      this.gravelDepositMaxAltitude1, this.gravelDepositSize1, 
	      BiomeTerrainValues.gravel.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.gravelDepositRarity2, 
	      this.gravelDepositFrequency2, this.gravelDepositMinAltitude2, 
	      this.gravelDepositMaxAltitude2, this.gravelDepositSize2, 
	      BiomeTerrainValues.gravel.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.gravelDepositRarity3, 
	      this.gravelDepositFrequency3, this.gravelDepositMinAltitude3, 
	      this.gravelDepositMaxAltitude3, this.gravelDepositSize3, 
	      BiomeTerrainValues.gravel.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.gravelDepositRarity4, 
	      this.gravelDepositFrequency4, this.gravelDepositMinAltitude4, 
	      this.gravelDepositMaxAltitude4, this.gravelDepositSize4, 
	      BiomeTerrainValues.gravel.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.clayDepositRarity1, 
	      this.clayDepositFrequency1, this.clayDepositMinAltitude1, 
	      this.clayDepositMaxAltitude1, this.clayDepositSize1, 
	      BiomeTerrainValues.clay.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.clayDepositRarity2, 
	      this.clayDepositFrequency2, this.clayDepositMinAltitude2, 
	      this.clayDepositMaxAltitude2, this.clayDepositSize2, 
	      BiomeTerrainValues.clay.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.clayDepositRarity3, 
	      this.clayDepositFrequency3, this.clayDepositMinAltitude3, 
	      this.clayDepositMaxAltitude3, this.clayDepositSize3, 
	      BiomeTerrainValues.clay.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.clayDepositRarity4, 
	      this.clayDepositFrequency4, this.clayDepositMinAltitude4, 
	      this.clayDepositMaxAltitude4, this.clayDepositSize4, 
	      BiomeTerrainValues.clay.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.coalDepositRarity1, 
	      this.coalDepositFrequency1, this.coalDepositMinAltitude1, 
	      this.coalDepositMaxAltitude1, this.coalDepositSize1, 
	      BiomeTerrainValues.coalore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.coalDepositRarity2, 
	      this.coalDepositFrequency2, this.coalDepositMinAltitude2, 
	      this.coalDepositMaxAltitude2, this.coalDepositSize2, 
	      BiomeTerrainValues.coalore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.coalDepositRarity3, 
	      this.coalDepositFrequency3, this.coalDepositMinAltitude3, 
	      this.coalDepositMaxAltitude3, this.coalDepositSize3, 
	      BiomeTerrainValues.coalore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.coalDepositRarity4, 
	      this.coalDepositFrequency4, this.coalDepositMinAltitude4, 
	      this.coalDepositMaxAltitude4, this.coalDepositSize4, 
	      BiomeTerrainValues.coalore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.ironDepositRarity1, 
	      this.ironDepositFrequency1, this.ironDepositMinAltitude1, 
	      this.ironDepositMaxAltitude1, this.ironDepositSize1, 
	      BiomeTerrainValues.ironore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.ironDepositRarity2, 
	      this.ironDepositFrequency2, this.ironDepositMinAltitude2, 
	      this.ironDepositMaxAltitude2, this.ironDepositSize2, 
	      BiomeTerrainValues.ironore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.ironDepositRarity3, 
	      this.ironDepositFrequency3, this.ironDepositMinAltitude3, 
	      this.ironDepositMaxAltitude3, this.ironDepositSize3, 
	      BiomeTerrainValues.ironore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.ironDepositRarity4, 
	      this.ironDepositFrequency4, this.ironDepositMinAltitude4, 
	      this.ironDepositMaxAltitude4, this.ironDepositSize4, 
	      BiomeTerrainValues.ironore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.goldDepositRarity1, 
	      this.goldDepositFrequency1, this.goldDepositMinAltitude1, 
	      this.goldDepositMaxAltitude1, this.goldDepositSize1, 
	      BiomeTerrainValues.goldore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.goldDepositRarity2, 
	      this.goldDepositFrequency2, this.goldDepositMinAltitude2, 
	      this.goldDepositMaxAltitude2, this.goldDepositSize2, 
	      BiomeTerrainValues.goldore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.goldDepositRarity3, 
	      this.goldDepositFrequency3, this.goldDepositMinAltitude3, 
	      this.goldDepositMaxAltitude3, this.goldDepositSize3, 
	      BiomeTerrainValues.goldore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.goldDepositRarity4, 
	      this.goldDepositFrequency4, this.goldDepositMinAltitude4, 
	      this.goldDepositMaxAltitude4, this.goldDepositSize4, 
	      BiomeTerrainValues.goldore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.redstoneDepositRarity1, 
	      this.redstoneDepositFrequency1, this.redstoneDepositMinAltitude1, 
	      this.redstoneDepositMaxAltitude1, this.redstoneDepositSize1, 
	      BiomeTerrainValues.redstoneore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.redstoneDepositRarity2, 
	      this.redstoneDepositFrequency2, this.redstoneDepositMinAltitude2, 
	      this.redstoneDepositMaxAltitude2, this.redstoneDepositSize2, 
	      BiomeTerrainValues.redstoneore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.redstoneDepositRarity3, 
	      this.redstoneDepositFrequency3, this.redstoneDepositMinAltitude3, 
	      this.redstoneDepositMaxAltitude3, this.redstoneDepositSize3, 
	      BiomeTerrainValues.redstoneore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.redstoneDepositRarity4, 
	      this.redstoneDepositFrequency4, this.redstoneDepositMinAltitude4, 
	      this.redstoneDepositMaxAltitude4, this.redstoneDepositSize4, 
	      BiomeTerrainValues.redstoneore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.diamondDepositRarity1, 
	      this.diamondDepositFrequency1, this.diamondDepositMinAltitude1, 
	      this.diamondDepositMaxAltitude1, this.diamondDepositSize1, 
	      BiomeTerrainValues.diamondore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.diamondDepositRarity2, 
	      this.diamondDepositFrequency2, this.diamondDepositMinAltitude2, 
	      this.diamondDepositMaxAltitude2, this.diamondDepositSize2, 
	      BiomeTerrainValues.diamondore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.diamondDepositRarity3, 
	      this.diamondDepositFrequency3, this.diamondDepositMinAltitude3, 
	      this.diamondDepositMaxAltitude3, this.diamondDepositSize3, 
	      BiomeTerrainValues.diamondore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.diamondDepositRarity4, 
	      this.diamondDepositFrequency4, this.diamondDepositMinAltitude4, 
	      this.diamondDepositMaxAltitude4, this.diamondDepositSize4, 
	      BiomeTerrainValues.diamondore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.lapislazuliDepositRarity1, 
	      this.lapislazuliDepositFrequency1, this.lapislazuliDepositMinAltitude1, 
	      this.lapislazuliDepositMaxAltitude1, this.lapislazuliDepositSize1, 
	      BiomeTerrainValues.lapislazuliore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.lapislazuliDepositRarity2, 
	      this.lapislazuliDepositFrequency2, this.lapislazuliDepositMinAltitude2, 
	      this.lapislazuliDepositMaxAltitude2, this.lapislazuliDepositSize2, 
	      BiomeTerrainValues.lapislazuliore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.lapislazuliDepositRarity3, 
	      this.lapislazuliDepositFrequency3, this.lapislazuliDepositMinAltitude3, 
	      this.lapislazuliDepositMaxAltitude3, this.lapislazuliDepositSize3, 
	      BiomeTerrainValues.lapislazuliore.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.lapislazuliDepositRarity4, 
	      this.lapislazuliDepositFrequency4, this.lapislazuliDepositMinAltitude4, 
	      this.lapislazuliDepositMaxAltitude4, this.lapislazuliDepositSize4, 
	      BiomeTerrainValues.lapislazuliore.byteValue().byteValue(), false);
	    BiomeTerrain.dungeonDefault = false;

	    BiomeTerrain.processDepositMaterial(x, z, this.dungeonRarity, this.dungeonFrequency, 
	      this.dungeonMinAltitude, this.dungeonMaxAltitude, 
	      -1, BiomeTerrainValues.mobspawner.byteValue().byteValue(), false);
	  }


  public void processHellMaterials(int x, int z) {
	    BiomeTerrain.lavaSourceHellDefault = BiomeTerrain.fireHellDefault = BiomeTerrain.lightstoneHellDefault1 = BiomeTerrain.lightstoneHellDefault2 = BiomeTerrain.brownMushroomHellDefault = BiomeTerrain.redMushroomHellDefault = false;

	    BiomeTerrain.processDepositMaterial(x, z, this.lavaSourceHellDepositRarity, 
	      this.lavaSourceHellDepositFrequency, 
	      this.lavaSourceHellDepositMinAltitude, 
	      this.lavaSourceHellDepositMaxAltitude, -1, 
	      BiomeTerrainValues.lava.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.fireHellDepositRarity, 
	      this.fireHellDepositFrequency, this.fireHellDepositMinAltitude, 
	      this.fireHellDepositMaxAltitude, -1, 
	      BiomeTerrainValues.fire.byteValue().byteValue(), this.evenFireHellDepositDistribution);

	    BiomeTerrain.processDepositMaterial(x, z, this.lightstoneHellDepositRarity1, 
	      this.lightstoneHellDepositFrequency1, 
	      this.lightstoneHellDepositMinAltitude1, 
	      this.lightstoneHellDepositMaxAltitude1, -1, 
	      BiomeTerrainValues.lightstone.byteValue().byteValue(), this.evenLightstoneHellDepositDistribution);

	    BiomeTerrain.processDepositMaterial(x, z, this.lightstoneHellDepositRarity2, 
	      this.lightstoneHellDepositFrequency2, 
	      this.lightstoneHellDepositMinAltitude2, 
	      this.lightstoneHellDepositMaxAltitude2, -2, 
	      BiomeTerrainValues.lightstone.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, 
	      this.brownMushroomHellDepositRarity, 
	      this.brownMushroomHellDepositFrequency, 
	      this.brownMushroomHellDepositMinAltitude, 
	      this.brownMushroomHellDepositMaxAltitude, -1, 
	      BiomeTerrainValues.brownmushroom.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.redMushroomHellDepositRarity, 
	      this.redMushroomHellDepositFrequency, 
	      this.redMushroomHellDepositMinAltitude, 
	      this.redMushroomHellDepositMaxAltitude, -1, 
	      BiomeTerrainValues.redmushroom.byteValue().byteValue(), false);
	  }

  public int processTrees(int treeDensity, int treeDensityVariation) {
	    BiomeTerrain.rainforestDefault = BiomeTerrain.seasonalforestDefault = BiomeTerrain.forestDefault = BiomeTerrain.taigaDefault = BiomeTerrain.desertDefault = BiomeTerrain.plainsDefault = BiomeTerrain.tundraDefault = false;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Rainforest.biomeValue())
	      treeDensity += treeDensityVariation + this.rainforestTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Swampland.biomeValue())
	      treeDensity += treeDensityVariation + this.swamplandTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.SeasonalForest.biomeValue())
	      treeDensity += treeDensityVariation + this.seasonalforestTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Forest.biomeValue())
	      treeDensity += treeDensityVariation + this.forestTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Savanna.biomeValue())
	      treeDensity += treeDensityVariation + this.savannaTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Shrubland.biomeValue())
	      treeDensity += treeDensityVariation + this.shrublandTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Taiga.biomeValue())
	      treeDensity += treeDensityVariation + this.taigaTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Desert.biomeValue())
	      treeDensity += treeDensityVariation + this.desertTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Plains.biomeValue())
	      treeDensity += treeDensityVariation + this.plainsTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.IceDesert.biomeValue())
	      treeDensity += treeDensityVariation + this.iceDesertTreeDensity;
	    if (BiomeTerrain.currentBiome == BiomeTerrainValues.Tundra.biomeValue())
	      treeDensity += treeDensityVariation + this.tundraTreeDensity;
	    return treeDensity;
	  }
  public boolean getOldGen() {
	  return this.oldGen;
  }
  public double getBiomeSize() {
	    return this.biomeSize;
	  }
	  public double getMinimumTemperature() {
	    return this.minTemperature;
	  }
	  public double getMaximumTemperature() {
	    return this.maxTemperature;
	  }
	  public double getMinimumMoisture() {
	    return this.minMoisture;
	  }
	  public double getMaximumMoisture() {
	    return this.maxMoisture;
	  }
	  public double getSnowThreshold() {
	    return this.snowThreshold;
	  }
	  public double getIceThreshold() {
	    return this.iceThreshold;
	  }

  public int getWaterLevel() {
	    return this.waterLevel;
	  }

  public double getMaxAverageHeight() {
	    return this.maxAverageHeight;
	  }
	  public double getMaxAverageDepth() {
	    return this.maxAverageDepth;
	  }
	  public double getFractureHorizontal() {
	    return this.fractureHorizontal < 0.0D ? 1.0D / (Math.abs(this.fractureHorizontal) + 1.0D) : this.fractureHorizontal + 1.0D;
	  }
	  public double getFractureVertical() {
	    return this.fractureVertical < 0.0D ? 1.0D / (Math.abs(this.fractureVertical) + 1.0D) : this.fractureVertical + 1.0D;
	  }
	  public double getVolatility1() {
	    return this.volatility1 < 0.0D ? 1.0D / (Math.abs(this.volatility1) + 1.0D) : this.volatility1 + 1.0D;
	  }
	  public double getVolatility2() {
	    return this.volatility2 < 0.0D ? 1.0D / (Math.abs(this.volatility2) + 1.0D) : this.volatility2 + 1.0D;
	  }
	  public double getVolatilityWeight1() {
	    return (this.volatilityWeight1 - 0.5D) * 24.0D;
	  }
	  public double getVolatilityWeight2() {
	    return (0.5D - this.volatilityWeight2) * 24.0D;
	  }
	  public boolean createadminium(int y) {
	    return (!this.disableBedrock) && ((!this.flatBedrock) || ((this.flatBedrock) && (y == 0)));
	  }
	  public byte getadminium() {
	    return (this.bedrockobsidian ? BiomeTerrainValues.obsidian.byteValue() : BiomeTerrainValues.adminium.byteValue()).byteValue();
	  }

	  public boolean getDisableNotchPonds() {
	    return this.disableNotchPonds;
	  }

  public boolean getNotchBiomeTrees() {
	    return this.notchBiomeTrees;
	  }
  public boolean getCustomObjects() {
	    return this.customObjects;
	  }
	  public int getObjectSpawnRatio() {
	    return this.objectSpawnRatio;
	  }

	  public int getGlobalTreeDensity() {
		    return this.globalTreeDensity;
		  }
	  public void processAboveGroundMaterials(int x, int z)
	  {
	    BiomeTerrain.flowerDefault = BiomeTerrain.roseDefault = BiomeTerrain.brownMushroomDefault = BiomeTerrain.redMushroomDefault = BiomeTerrain.reedDefault = BiomeTerrain.pumpkinDefault = BiomeTerrain.waterSourceDefault = BiomeTerrain.lavaSourceDefault = false;

	    BiomeTerrain.processDepositMaterial(x, z, this.flowerDepositRarity, 
	      this.flowerDepositFrequency, this.flowerDepositMinAltitude, 
	      this.flowerDepositMaxAltitude, -1, 
	      BiomeTerrainValues.flower.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.roseDepositRarity, 
	      this.roseDepositFrequency, this.roseDepositMinAltitude, 
	      this.roseDepositMaxAltitude, -1, 
	      BiomeTerrainValues.rose.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.brownMushroomDepositRarity, 
	      this.brownMushroomDepositFrequency, this.brownMushroomDepositMinAltitude, 
	      this.brownMushroomDepositMaxAltitude, -1, 
	      BiomeTerrainValues.brownmushroom.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.redMushroomDepositRarity, 
	      this.redMushroomDepositFrequency, this.redMushroomDepositMinAltitude, 
	      this.redMushroomDepositMaxAltitude, -1, 
	      BiomeTerrainValues.redmushroom.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.reedDepositRarity, 
	      this.reedDepositFrequency, this.reedDepositMinAltitude, 
	      this.reedDepositMaxAltitude, -1, 
	      BiomeTerrainValues.reeds.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.pumpkinDepositRarity, 
	      this.pumpkinDepositFrequency, this.pumpkinDepositMinAltitude, 
	      this.pumpkinDepositMaxAltitude, -1, 
	      BiomeTerrainValues.pumpkin.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.waterSourceDepositRarity, 
	      this.waterSourceDepositFrequency, this.waterSourceDepositMinAltitude, 
	      this.waterSourceDepositMaxAltitude, -1, 
	      BiomeTerrainValues.water.byteValue().byteValue(), false);

	    BiomeTerrain.processDepositMaterial(x, z, this.lavaSourceDepositRarity, 
	      this.lavaSourceDepositFrequency, this.lavaSourceDepositMinAltitude, 
	      this.lavaSourceDepositMaxAltitude, -1, 
	      BiomeTerrainValues.lava.byteValue().byteValue(), false);
	    BiomeTerrain.cactusDefault = false;

	    BiomeTerrain.processDepositMaterial(x, z, this.cactusDepositRarity, this.globalCactusDensity + (BiomeTerrain.currentBiome == BiomeTerrainValues.Desert.biomeValue() ? this.desertCactusDensity : 0), this.cactusDepositMinAltitude, this.cactusDepositMaxAltitude, -1, BiomeTerrainValues.cactus.byteValue().byteValue(), false);
	  }

	  public int getCaveRarity() {
		    return this.caveRarity;
		  }
		  public int getCaveFrequency() {
		    return this.caveFrequency;
		  }
		  public int getCaveMinAltitude() {
		    return this.caveMinAltitude;
		  }
		  public int getCaveMaxAltitude() {
		    return this.caveMaxAltitude;
		  }
		  public int getIndividualCaveRarity() {
		    return this.individualCaveRarity;
		  }
		  public int getCaveSystemFrequency() {
		    return this.caveSystemFrequency;
		  }
		  public int getCaveSystemPocketChance() {
		    return this.caveSystemPocketChance;
		  }
		  public int getCaveSystemPocketMinSize() {
		    return this.caveSystemPocketMinSize;
		  }
		  public int getCaveSystemPocketMaxSize() {
		    return this.caveSystemPocketMaxSize;
		  }
		  public boolean getEvenCaveDistribution() {
		    return this.evenCaveDistribution;
		  }
		  public int getLavaLevelMin() {
		    return this.lavaLevelMin;
		  }
		  public int getLavaLevelMax() {
		    return this.lavaLevelMax;
		  }
}